1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Files
gohugoio-hugo/hugolib
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
..
2016-09-18 19:16:39 +02:00
2015-12-07 19:57:01 +01:00
2017-12-15 18:49:21 +01:00
2017-12-15 18:49:21 +01:00
2017-09-07 16:21:33 +02:00
2017-08-17 09:43:39 +02:00
2018-01-12 10:39:09 +01:00