Hugo Docs’ page for 404 template states that:
404 pages will have all the regular page variables available to use in the templates.
However, I was unable to set
.Params through front-matter with
content/404.md as usual.
Replies to the mentioned post include some workarounds. But has the issue been resolved in the past 3 years? And if not, what is the “right way” to do this?
PS: Passing params include changing
.Title of the 404 page and such. By default,
404 Page not found is passed by Hugo.
Thanks in advance!