mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
78f8475a05
In Hugo 0.46 we made the output of what you get from resources.Get and similar static, i.e. language agnostic. This makes total sense, as it is wasteful and time-consuming to do SASS/SCSS/PostCSS processing for lots of languages when the output is lots of duplicates with different filenames. But since we now output the result once only, this had a negative side effect for multihost setups: We publish the resource once only to the root folder (i.e. not to the language "domain folder"). This commit removes the language code from the processed image keys. This creates less duplication in the file cache, but it means that you should do a `hugo --gc` to clean up stale files. Fixes #5058 |
||
---|---|---|
.. | ||
content.go | ||
content_renderer.go | ||
content_renderer_test.go | ||
content_test.go | ||
docshelper.go | ||
emoji.go | ||
emoji_test.go | ||
general.go | ||
general_test.go | ||
hugo.go | ||
hugo_test.go | ||
path.go | ||
path_test.go | ||
pathspec.go | ||
pathspec_test.go | ||
processing_stats.go | ||
pygments.go | ||
pygments_test.go | ||
testhelpers_test.go | ||
url.go | ||
url_test.go |