Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
更新README
  • Loading branch information
redgreat committed Aug 23, 2022
1 parent 4db531a commit 118f4f5
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,5 @@ NGINX 文件服务器自定义主题

插件详见:[github page](https://github.com/aperezdc/ngx-fancyindex).

已修复作者根目录隐藏最后一个文件夹的issues


#####Usage:
- Compile nginx with the fancyindex module.
- Include the contents of 'fancyindex.conf' in your location directive of your nginx conf.
- copy the remaining items in your web root under 'fancyindex'.
- header.html
- footer.html
- css\fancyindex.css
- fonts\\*
- images\breadcrumb.png
- Restart your nginx server.

#####Added/Modified:
- Mime type icons from [Splitbrain](http://www.splitbrain.org/projects/file_icons)
- Icons default to enabled on large devices and off on small devices like phones.
- If you'd prefer no icons at all: copy css\fancyindex_NoIcons.css css\fancyindex.css
- Slightly better handling of mobile CSS click areas.
- Added HTML5 History for quicker page transitions.
- This can be disabled by commenting out the script tag in footer.html
- Fixed CSS issues on older versions of FF

#####Addendums:
- If you want your 'Parent Directory/' listing back in your file listings:
- Read: [This Issue](https://github.com/TheInsomniac/Nginx-Fancyindex-Theme/issues/1#issuecomment-43936700)

![Image1](https://raw.githubusercontent.com/TheInsomniac/Nginx-Fancyindex-Theme/master/images/fancyindex.png)

![Image1](https://raw.githubusercontent.com/TheInsomniac/Nginx-Fancyindex-Theme/master/images/fancyindex1.png)

![Image1](https://raw.githubusercontent.com/TheInsomniac/Nginx-Fancyindex-Theme/master/images/fancyindex2.png)

0 comments on commit 118f4f5

Please sign in to comment.