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
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