hugo/hugolib
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
..
alias_test.go
author.go
benchmark_test.go
case_insensitive_test.go
config.go
config_test.go
datafiles_test.go
embedded_shortcodes_test.go hugolib: Fix regressions with uglyURLs 2016-11-27 14:36:17 +01:00
gitinfo.go
handler_base.go
handler_file.go
handler_meta.go
handler_page.go hugolib: Make RawContent raw again 2016-12-01 17:29:49 +01:00
handler_test.go
hugo_info.go
hugo_sites.go hugolib: Remove superfluous assignment 2016-12-02 16:09:18 +01:00
hugo_sites_build.go
hugo_sites_build_test.go hugolib: Make RawContent raw again 2016-12-01 17:29:49 +01:00
i18n.go
media.go
menu.go
menu_test.go hugolib: Fix regressions with uglyURLs 2016-11-27 14:36:17 +01:00
multilingual.go
node_as_page_test.go Fix menu URL for node type pages 2016-12-11 16:16:24 +01:00
page.go hugolib: Make RawContent raw again 2016-12-01 17:29:49 +01:00
page_collections.go
page_permalink_test.go
page_taxonomy_test.go
page_test.go hugolib: Make RawContent raw again 2016-12-01 17:29:49 +01:00
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go hugolib: Add missing paginator test case 2016-11-23 10:44:35 +01:00
path_separators_test.go hugolib: Camelcase ALL_CAPS vars and const in tests 2016-11-23 09:13:00 +01:00
path_separators_windows_test.go
permalinks.go hugolib: Simplify 2016-11-23 18:32:17 +01:00
permalinks_test.go
redis.cn.md
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go
shortcode_test.go hugolib: Simplify 2016-11-23 18:32:17 +01:00
shortcodeparser.go
shortcodeparser_test.go
site.go Fix menu URL for node type pages 2016-12-11 16:16:24 +01:00
site_render.go hugolib: Fix comment 2016-12-06 09:57:05 +01:00
site_test.go
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go hugolib: Camelcase ALL_CAPS vars and const in tests 2016-11-23 09:13:00 +01:00
summary.go
taxonomy.go
taxonomy_test.go
template_test.go hugolib: Enable override of theme base template only 2016-12-15 21:35:38 +01:00
translations.go