Github Pages 404 for everything but index.html

后端 未结 1 641
予麋鹿
予麋鹿 2021-01-12 14:57

I have a Github pages website for our team at http://olinaeromarketing.github.io/. I\'ve tried opening index.html locally and it works perfectly in chrome on my pc. Everythi

相关标签:
1条回答
  • 2021-01-12 15:26

    By default, Jekyll is used to process GitHub Pages. Files/directories that begin with an underscore have special meaning for Jekyll and are, therefore, treated differently.

    Since you don't seem to be using Jekyll, your simplest solution is to add a file named '.nojekyll' to the root path to disable Jekyll functionality.

    Check out https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/ for more info.

    Edit: Just to be clear, the offending directory is '_include'.

    0 讨论(0)
提交回复
热议问题