Jheric Q.
Jheric Q.

Reputation: 23

Broken images on Github pages

The images show up fine in local, but it doesn't show up in Github pages for some reason. I've tried checking for anything case sensitive but I can't find any differences (unless I completely missed it)

Here's the page https://jekkers08.github.io/Neils-Website/photos.html

and the repo https://github.com/Jekkers08/Neils-Website

None of the images on any html file shows up and I really can't tell why

Upvotes: 2

Views: 377

Answers (1)

Merlin Attila Fejzuli
Merlin Attila Fejzuli

Reputation: 655

Jekyll will not copy files with a leading underscore. Therefore you need to rename your files to not contain leading underscores or disable Jekyll by adding a .nojekyll file in the root of your repository.

Upvotes: 1

Related Questions