mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Merge commit '77b976dd92b4f66657d83d875aef0c617df492d9'
This commit is contained in:
@@ -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" >}}
|
||||
|
Reference in New Issue
Block a user