-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Bring 404 page from lesson example #112
ENH: Bring 404 page from lesson example #112
Conversation
Deploy preview for carpentries-dmri ready! Built with commit 255aba1 |
Yes, looks like it's missing some parts of the |
@@ -0,0 +1,25 @@ | |||
--- | |||
layout: base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
layout: base | |
layout: page |
--- | ||
layout: base | ||
root: . | ||
permalink: 404.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
permalink: 404.html | |
permalink: /404.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just left a few suggestions. not sure whether they will change the rendering or not.
Thanks for the review @josephmje . I tried building the site locally and the 404 HTML takes the theme correctly, so maybe it's some |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am good with merging this in spite of Netlify not rendering. Did a cross-reference with the 404 page in the SDC-BIDS-IntroMRI
repo and everything is the same.
I suggest taking a quick look following merge to make sure the published page renders correctly
We went ahead and merged this hypothesizing that it was maybe a It turns out that I've only been able to find a single relevant commit to the And we've realized that the example lesson does also suffer from the same issue: Looks like we are missing something elsewhere. @tobyhodges @zkamvar do you happen to have an intuition of what could be missing? We've realized that it's only happening on lesson pages; if you have enter an invalid URL on the main page, it seems to render correctly, e.g. Cross-referencing carpentries/lesson-example#335. Thanks. |
Cross-referencing #140. |
Bring 404 page from lesson example.