Comments (10)
Hi @psycholyzern, thanks for the precision, I will update the README.md accordingly.
(this whole distinction between light and dark theme was done recently, I forgot to update everything)
from nginx-fancyindex-theme.
Hi,
Thanks for reporting this.
I'm not sure what can go wrong here...
Have you copied the theme folder (light or dark) to the root folder of your local website?
from nginx-fancyindex-theme.
It goes in the site root? I thought in the root of a directory to be auto/fancy indexed. Perhaps that's my issue.
from nginx-fancyindex-theme.
Yes, see the installation instruction.
Move the
Nginx-Fancyindex-Theme/
folder to the root of the site directory.
But you could change this, by changing links in all the html and conf files from /Nginx-Fancyindex-Theme/
to Nginx-Fancyindex-Theme/
(note the leading /
which is removed, to specify that the folder should be searched for inside the current directory, and not at the website root)
from nginx-fancyindex-theme.
I've tried both of those options and things are still behaving oddly.
When I first reported the issue, I had the theme folder in the directory to be indexed, with the nginx.conf adjusted accordingly.
Now, I have the theme folder in the website root with the nginx.conf including the leading / and I'm back to styled strange without the header and footer and not styled when I include them.
Are there any version incompatibilities that you've noticed? I'm running things in docker (which I saw you mention that you're not interested in) but the docker image is a bit on the old side. I've tried commenting out the max name length, but that doesn't make a difference either.
Here's a screenshot of what things look like when I include the header and footer:
Are there any config files or log files that might help illuminate the issue?
Thanks again for all your time!
from nginx-fancyindex-theme.
Hi again,
No sorry I don't see what could happen here…
Are you sure you included all the files from the theme folder?
I don't know of any issue in using docker and my theme, but again I didn't (and won't) test it myself, so maybe something fishy is going on.
from nginx-fancyindex-theme.
There are 2 possible fixes.
- Move
Nginx-Fancyindex-Theme-light
to your root dir, notNginx-Fancyindex-Theme
.
or
- Follow the exact steps under Usage, but edit path
Nginx-Fancyindex-Theme
toNginx-Fancyindex-Theme/Nginx-Fancyindex-Theme-light
in nginx configuration, header.html and footer.html
from nginx-fancyindex-theme.
@Naereen the Usage tutorial ask user to put Nginx-Fancyindex-Theme
in the root dir, but configuration, header.html and footer.html are written to serve Nginx-Fancyindex-Theme-light
.
The tutorial should tell us to move Nginx-Fancyindex-Theme-light
and Nginx-Fancyindex-Theme-dark
to root dir, not move the parent folder Nginx-Fancyindex-Theme
.
from nginx-fancyindex-theme.
@nfugal please tell us if the details given by @psycholyzern were sufficient to solve your problem? (I'll then close this)
from nginx-fancyindex-theme.
Haven't heard from you in the last month, I assume this issue is solved.
from nginx-fancyindex-theme.
Related Issues (19)
- fancyindex_name_length HOT 1
- styles.css not found HOT 1
- Markdown processing does not support lists HOT 8
- [question] Hi i want to make a dockerfile (and docker-compose file) for this. HOT 4
- fancyindex-can-t-print-list-with-auth-ldap-module HOT 7
- Please Add the support of Nginx 1.14.x feature HOT 3
- 在页面的头部和尾部显示404,找不到主题 HOT 3
- 404 requests for HEADER.md README.md per directory HOT 1
- Populate README to subdirectories HOT 2
- question about HEADER.md and README.md HOT 4
- 302 Found HOT 4
- Search does not work with unicode chars HOT 3
- r4s HOT 1
- Recursive Search HOT 1
- Add note about upcoming removal of fancyindex_name_length HOT 1
- 这个项目作者还在吗 HOT 5
- Changing white background HOT 2
- fancyindex_name_length
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-fancyindex-theme.