Closed PsychoShock closed 2 months ago
This sadly does not work, hugo does not seem to care about the 404 page in layouts.
I wasn't sure. I spoke with some membrs years ago about this. It was a custom template that was suppose to be working. Sadly building docs are broken so no way to find out.
Building the docs works fine if you're using the custom fork.
You just have to make sure you build with go build --tags extended
I wasn't sure. I spoke with some membrs years ago about this. It was a custom template that was suppose to be working. Sadly building docs are broken so no way to find out.
It's not broken.
See #417
Did a bit more research, this is not broken, the version of hugo we're on doesn't support showing the 404.html on localhost
Reference: https://discourse.gohugo.io/t/why-do-custom-404-pages-not-work-on-hugo-localhost/39227
This doesn't fix the 404 page for the UI though, sadly.
Should be handle following https://gohugo.io/templates/404/
Will also handle Github issue if someone found a invalid link
Issue is people that goes into 404 page can't "return home".