mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
a3a67163f9
This commit fixes the base template lookup order to match the behaviour of regular templates. ``` 1. <current-path>/<template-name>-baseof.<suffix>, e.g. list-baseof.<suffix>. 2. <current-path>/baseof.<suffix> 3. _default/<template-name>-baseof.<suffix>, e.g. list-baseof.<suffix>. 4. _default/baseof.<suffix> For each of the steps above, it will first look in the project, then, if theme is set, in the theme's layouts folder. ``` Fixes #2783 |
||
---|---|---|
.. | ||
reflect_helpers.go | ||
template.go | ||
template_ast_transformers.go | ||
template_ast_transformers_test.go | ||
template_embedded.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_i18n.go | ||
template_i18n_test.go | ||
template_resources.go | ||
template_resources_test.go | ||
template_test.go |