Skip to content

Page not found if it has __ as prefix? #81926

Answered by yoannchaudet
mr-cheff asked this question in Pages
Discussion options

You must be logged in to vote

This is a Jekyll behavior to ignore files starting with an underscore. Jekyll is the default static site generator we use to build your site if you did not specify or ask for anything else.

Since you are using HTML files directly in your repo, you probably want to add a .nojekyll (empty) file at the root of your repository. As an alternative you can change the source of your site (in the settings) to GitHub Actions (instead of branch) and select our Static workflow template.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mr-cheff
Comment options

@dostogircse171
Comment options

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Answer selected by mr-cheff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Pages Host a static website, right from your repo
4 participants