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

With defaultContentLanguageInSubdir: true, a 404.html file should be created at the root #5161

Open
divinerites opened this Issue Sep 4, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@divinerites

divinerites commented Sep 4, 2018

In the direct relation with #5160 I open this (related ?) issue.

When option defaultContentLanguageInSubdiris set to true, a sitemap.xml file is automagically generated by Hugo at the root of the website, as well as in all language subdirectories.

I propose that the same is done for the 404.html file, which is currently (as of Hugo 0.48) only generated in language subdirectories but not at the root of the website.

See :

https://discourse.gohugo.io/t/404-html-not-generated-on-root-if-defaultcontentlanguageinsubdir-true/14048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment