- I use the
404.html
layout with i18n translations inside, and it is ok, but how do I make them to also populate the breadcrumb entry and page title and head title? All those display only in english everywhere. - Also, when a
/
is in the url pointing to a non existing page, the404.html
is displayed but it’s also breaking all the links (even links in the head, making the styles not fetched anymore).
See this happening here. (and here for the “slash” thing) Repo here.
I tried to override the frontmatter title of the 404.html
via a 404.md
, but layout: 404
does not manage to use the 404.html
layout.
Do I have to create a full stand-alone 404.html page for each translations (with no relative links inside then)? I feel this would be a “low tech workaround”, not a proper expected use/behavior of Hugo…
I creted the respective issues here and here but I’m not sure if I’m just doing a wrong use of Hugo, and also if I’m understanding well the documentation.