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

Generate 404.html on build #729

Closed
kiaking opened this issue Jun 6, 2022 · 0 comments · Fixed by #740
Closed

Generate 404.html on build #729

kiaking opened this issue Jun 6, 2022 · 0 comments · Fixed by #740
Labels
build Related to the build system enhancement New feature or request theme Related to the theme
Milestone

Comments

@kiaking
Copy link
Member

kiaking commented Jun 6, 2022

Currently, we have 404 page but that only gets displayed on client-side navigation. For example when deploying to Netlify, we need to specify the file to redirect when a page is not found. Currently, we don't have it 👀

So it would be cool if we generate 404.html on build time, so that we can setup correct redirect rule on static site hosting services.

@kiaking kiaking added enhancement New feature or request build Related to the build system theme Related to the theme labels Jun 6, 2022
@kiaking kiaking added this to the v1.0.0 milestone Jun 6, 2022
kiaking added a commit that referenced this issue Jun 14, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build Related to the build system enhancement New feature or request theme Related to the theme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant