Skip to content

Page build failure when I change from Jekyll to Hugo #22233

Answered by tcbyrd
IhnwhiHeo asked this question in General
Discussion options

You must be logged in to vote

Hey there! Basically you’ll need to tell Pages not to use Jekyll. By default, Pages always attempts to parse/build files with Jekyll, but if you have files that use syntax that Jekyll doesn’t understand you can get errors like this. To tell Pages to completely skip the Jekyll build, you just need to add a .nojekyll file to the root of your pages branch. See this doc for more info: https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/about-github-pages#static-site-generators

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants