mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 11:42:37 +00:00
be1a566203
`404.html` needs to be that and not `/404/` in the root. There seem to be content pages in the wild with the name `404` (Hugo docs), so this commit adds an extra check so only root 404 pages ignore the `uglifyURLs`setting. Fixes #1140