diff options
Diffstat (limited to 'docs/content/en/templates/lookup-order.md')
-rw-r--r-- | docs/content/en/templates/lookup-order.md | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/docs/content/en/templates/lookup-order.md b/docs/content/en/templates/lookup-order.md index 7f66a7734..279c6aee2 100644 --- a/docs/content/en/templates/lookup-order.md +++ b/docs/content/en/templates/lookup-order.md @@ -39,22 +39,38 @@ Section Templates can live in either the project's or the themes' layout folders, and the most specific templates will be chosen. Hugo will interleave the lookups listed below, finding the most specific one either in the project or themes. {{% /note %}} -## Regular pages - -{{< datatable-filtered "output" "layouts" "Kind == page" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}} - ## Home page {{< datatable-filtered "output" "layouts" "Kind == home" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}} +## Single pages + +{{< datatable-filtered "output" "layouts" "Kind == page" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}} + ## Section pages +A section page is a list of pages within a given section. + {{< datatable-filtered "output" "layouts" "Kind == section" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}} ## Taxonomy pages +A taxonomy page is a list of terms within a given taxonomy. The examples below assume the following site configuration: + +{{< code-toggle file=hugo copy=false >}} +[taxonomies] +category = 'categories' +{{< /code-toggle >}} + {{< datatable-filtered "output" "layouts" "Kind == taxonomy" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}} ## Term pages +A term page is a list of pages associated with a given term. The examples below assume the following site configuration: + +{{< code-toggle file=hugo copy=false >}} +[taxonomies] +category = 'categories' +{{< /code-toggle >}} + {{< datatable-filtered "output" "layouts" "Kind == term" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}} |