diff options
author | Anthony Fok <foka@debian.org> | 2015-03-06 04:47:04 -0700 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-06 13:12:01 +0100 |
commit | c4c19ad303cb11616a7291bdbeec997e59b6d24e (patch) | |
tree | e7d71eafc8f8a6b000bb1489659ed3c88afceaa4 /hugolib/shortcode.go | |
parent | 3343cacc0e5a94ca50537cb5612b5549be2d9ca0 (diff) |
Prevent 404.html from prettifying into 404/index.html
Restore @realchaseadams's commit 348e123
"Force `UglyUrls` option to force `404.html` file name"
which got lost after some refactoring (commit 8db3c0b).
Remove the equivalent "force `UglyUrls`" code for `sitemap.xml`
because the refactored code now calls `renderAndWriteXML()`
which uses `WriteDestFile()` which does not prettify a filename.
Fixes #939
Diffstat (limited to 'hugolib/shortcode.go')
0 files changed, 0 insertions, 0 deletions