mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 14:51:23 +00:00
1cf29200b4
Most obvius benefit of this is to include CSS partials with css file suffix into HTML templates. A valid workaround would be to rename the file `mystyles.html`, but that doesn't work too good for external editors etc. The css partial is a method used in some themes before Hugo 0.20, but then it stopped working. This commit reintroduces that behaviour. Note that the regular layout lookups for text templates, i.e. "single.json" will be prefixed with "_text/" on lookup and will only match in the text collection. Fixes #3273 |
||
---|---|---|
.. | ||
ace.go | ||
amber_compiler.go | ||
reflect_helpers.go | ||
template.go | ||
template_ast_transformers.go | ||
template_ast_transformers_test.go | ||
template_embedded.go | ||
template_func_truncate.go | ||
template_func_truncate_test.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_resources.go | ||
template_resources_test.go | ||
template_test.go | ||
templateFuncster.go | ||
templateProvider.go |