Closed VasilyRakche closed 3 years ago
This seems an issue related to GitHub Page. Another user reported this a few days ago too: #194
For example, this URL returns 404: https://vasilyrakche.github.io/p/placeholder-text/_hu958d513eeefe5556a31d065479ecc5ac_14205_7bffa90d1e66ca9b8184fda08a99dc7e.jpg
However, the file exists under its correct path: https://github.com/VasilyRakche/vasilyrakche.github.io/blob/master/p/placeholder-text/_hu958d513eeefe5556a31d065479ecc5ac_14205_7bffa90d1e66ca9b8184fda08a99dc7e.jpg
I don't know how to solve this. Could you test if this bug persists even with another image? (not the sample one)
So I found this discussion in Github Support Community: https://github.community/t/error-404-for-image-file-via-pages-which-exists-in-repository/10880
The name of the image starts with an underscore, that must be the reason.
Try to place a .nojekyll
file in the repository with the main Github Pages content.
Thanks placing a .nojekyll
file in the build repository for GitHub pages deployment solved the problem!
Describe the bug
The picture for Related content are not loading. That only happens once deployed on GitHub, testing it locally with Hugo works ok.
To Reproduce
I am using example files provided. Building them with Hugo v0.80.0/extended Just replacing the baseurl line with:
Build files are written into folder public and pushed to my github repo You can check how page looks like once deployed here.
Environment
Additional context
Content of config.yaml
Link to the demo site and/or source repository
Repo with build files Deployed website Source code is used from the exampleSite in the theme repo.