Skip to content

Jekyll redirects to a 404 and does not render post.md #23449

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

You must be logged in to vote

It looks like the links that are being generated from this code are missing the repository name baseurl Julien_Tremblay_McLellan/ from the URL.

e.g. the link to your site is:

https://jtm-lis.github.io/Julien_Tremblay_McLellan/

However, the URLs that are being generated look like the following:

https://jtm-lis.github.io/2020/07/27/library-carpentry-workshop-american-university-notes.html

This results in a 404 as it’s missing the repository name Julien_Tremblay_McLellan/, which is the baseurl value, from the URL.

Note that the Jekyll website mentions that you don’t need to do this as of Jekyll version 4.0. However, GitHub Pages still runs Jekyll 3.8.7 underneath so you will need to manually…

Replies: 3 comments 1 reply

Comment options

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

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