mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
6bf010fed4
This is a pretty fundamental change in Hugo, but absolutely needed if we should have any hope of getting "multiple outputs" done. This commit's goal is to say: * Every file target path is created by `createTargetPath`, i.e. one function for all. * That function takes every page and site parameter into account, to avoid fragile string parsing to uglify etc. later on. * The path creation logic has full test coverage. * All permalinks, paginator URLs etc. are then built on top of that same logic. Fixes #1252 Fixes #2110 Closes #2374 Fixes #1885 Fixes #3102 Fixes #3179 Fixes #1641 Fixes #1989 |
||
---|---|---|
.. | ||
content.go | ||
content_renderer.go | ||
content_renderer_test.go | ||
content_test.go | ||
emoji.go | ||
emoji_test.go | ||
general.go | ||
general_test.go | ||
hugo.go | ||
hugo_test.go | ||
language.go | ||
language_test.go | ||
path.go | ||
path_test.go | ||
pathspec.go | ||
pathspec_test.go | ||
pygments.go | ||
pygments_test.go | ||
testhelpers_test.go | ||
url.go | ||
url_test.go |