Skip to content

Github Pages is Not Loading Specific Folders #22161

Answered by otter-computer
AyrtonB asked this question in General
Discussion options

You must be logged in to vote

Hey @AyrtonB, welcome to the GitHub Support Community!

It looks like you’ve already managed to figure this out, but I’ll leave the answer just in case anyone else comes looking for solutions to a similar problem.

GitHub Pages uses Jekyll to build sites by default. Jekyll doesn’t include directories that start with certain special characters when building and deploying your site, including _:

docs.github.com

About GitHub Pages and Jekyll - GitHub Docs

If you’re using Jekyll to build your site and would like to include a file or directory that Jekyll excludes by default you can do this by specifying the path to the file/folder inside the include variable in your site’s _config.yml file:

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@coder618
Comment options

Answer selected
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
3 participants