hugo/tpl
Bjørn Erik Pedersen a3a67163f9 hugolib: Enable override of theme base template only
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
2016-12-15 21:35:38 +01:00
..
reflect_helpers.go Make where accept slice 2016-03-06 13:15:07 +01:00
template.go hugolib: Enable override of theme base template only 2016-12-15 21:35:38 +01:00
template_ast_transformers.go tpl: Fix params case issue with nested template funcs 2016-11-27 19:02:43 +01:00
template_ast_transformers_test.go tpl: Fix params case issue with nested template funcs 2016-11-27 19:02:43 +01:00
template_embedded.go hugolib: Add shortcode for Instagram 2016-11-23 20:28:42 +01:00
template_funcs.go tpl: Add sha256 template function 2016-12-04 15:03:52 +01:00
template_funcs_test.go tpl: Add a querify test case that is actually and URL 2016-12-13 00:16:09 +01:00
template_i18n.go commands, hugolib, source, target, tpl: Get rid of some fmt statements 2016-11-22 23:43:55 +01:00
template_i18n_test.go tpl: Golint fixes 2016-11-05 17:28:14 +01:00
template_resources.go tpl: Simplify 2016-11-23 18:53:50 +01:00
template_resources_test.go tpl: Simplify 2016-11-23 18:53:50 +01:00
template_test.go Add readFile template func 2016-03-31 21:24:18 +02:00