Skip to content
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

Update 404 page #431

Merged
merged 11 commits into from
Apr 5, 2023
Merged

Update 404 page #431

merged 11 commits into from
Apr 5, 2023

Conversation

zkamvar
Copy link
Contributor

@zkamvar zkamvar commented Apr 5, 2023

This will fix #430 by allowing the 404 page to use the URL in the config file.

NOTE: this will mean that the 404 for new sites will point to one of the workbench templates, but we will address this in the future.

This also fixes a bug where sandpaper::serve("path/to/other/lesson") would fail because it wasn't in the right directory.

@zkamvar
Copy link
Contributor Author

zkamvar commented Apr 5, 2023

There is still a slight bug where the setup page does not get processed because the format is slightly different, but I am le tired

@zkamvar zkamvar merged commit 3d088c7 into main Apr 5, 2023
@zkamvar zkamvar deleted the update-404-page branch April 5, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

404 page assets need absolute, not relative links.
1 participant