Skip to content

Commit

Permalink
Merge pull request glen-cheney#6 from leojimenezcr/readme
Browse files Browse the repository at this point in the history
Add a customizing hidden files and directories section in Readme
  • Loading branch information
glen-cheney authored Jul 31, 2017
2 parents 8255574 + 0a6f99a commit 1198986
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@ Now you don't have to zoom in or be a sniper with your finger!
| Default | Fancy |
|:--------:|:------:|
|![before fancy index (mobile)](before_mobile.png) | ![after fancy index (mobile)](after_mobile.png)|

## Customizing hidden files and directories

If you want to hidde some files or directories, for example the `fancy-index` directory, there are a `IndexIgnore` directive in `.htaccess` file.

1. Edit `.htaccess` file in root directory.
2. Look for the "IGNORE THESE FILES" section.
3. Update the `IndexIgnore` directive with the path of files and directories to hide, separed by spaces.
* For example: `IndexIgnore .ftpquota .DS_Store .git /fancy-index`
4. Save the changes.
5. Reload the index page.

0 comments on commit 1198986

Please sign in to comment.