Giter VIP home page Giter VIP logo

Comments (4)

e71828 avatar e71828 commented on July 20, 2024 1

image
OK,thank you!

by checking with F12 in chrome, I found the problem.

from nginx-fancyindex-theme.

e71828 avatar e71828 commented on July 20, 2024 1

then I wonder,how can I apply this on all pages? I am a freshman, I think may should specify a file location for the two files。

from nginx-fancyindex-theme.

Naereen avatar Naereen commented on July 20, 2024

Hi @e71828.

  • Have you updated the software to the most recent version? You should follow again the instructions for installing it,
  • Have you checked that there are a README.md and a HEADER.md file in the directory served by nginx and displayed by FancyIndex with the Nginx-FancyIndex-Theme theme ?
  • If they are indeed present, but not displayed, check the permissions, maybe they are only readable by you and not any other user/group (I think I remember that nginx runs by default on a user named www-data, maybe this user does not have access to the two files on your laptop)

Maybe you can also try to open the network debugging tool of your browser (Firefox : Menu : Web development : Network, or Ctrl+Maj+E, Google Chrome/Chromium, see https://developers.google.com/web/tools/chrome-devtools/network/).
And by relaunching the webpage served by nginx, you should see if the javascript code tries to load/read the two HEADER/README.md file, and maybe the network debugging tool will tell you the nature of the issue (file missing, not readable, etc).

from nginx-fancyindex-theme.

Naereen avatar Naereen commented on July 20, 2024

Good!
You can apply this on all pages by having a HEADER/README file in all directories and sub-directories.
I haven't found a way to do this automatically (see #19).

from nginx-fancyindex-theme.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.