hugo/output
Bjørn Erik Pedersen 51dd462c39 layout: Respect Type and Layout for list template selection
This commit also has some other nice side-effects:

* The layout logic is unified for all page types, which should make it less surprising
* Page.Render now supports all types
* The legacy "indexes" type is removed from the template lookup order. This is an undocumented type from early Hugo days. This means that having a template in, say, `/layouts/indexes/list.html` will no longer work.
* The theme override logic is improved. As an example, an `index.html` in theme will now wn over a `_default/list.html` in the project, which most will expect.

Fixes #3005
Fixes #3245
2018-01-14 19:59:51 +01:00
..
docshelper.go layout: Respect Type and Layout for list template selection 2018-01-14 19:59:51 +01:00
layout.go layout: Respect Type and Layout for list template selection 2018-01-14 19:59:51 +01:00
layout_base.go output: Fall back to unstranslated base template 2017-11-17 13:08:18 +01:00
layout_base_test.go output: Fall back to unstranslated base template 2017-11-17 13:08:18 +01:00
layout_test.go layout: Respect Type and Layout for list template selection 2018-01-14 19:59:51 +01:00
outputFormat.go Clean up lint in various packages 2017-09-29 16:23:16 +02:00
outputFormat_test.go all: Fix spelling 2017-08-07 20:19:24 +02:00