mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 19:04:44 -04:00
Add assumptions to taxonomy and term template lookup order examples
This commit is contained in:
parent
475b406e28
commit
e5f1f81134
@ -55,12 +55,22 @@ A section page is a list of pages within a given section.
|
|||||||
|
|
||||||
## Taxonomy pages
|
## Taxonomy pages
|
||||||
|
|
||||||
A taxonomy page is a list of terms within a given taxonomy.
|
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" >}}
|
{{< datatable-filtered "output" "layouts" "Kind == taxonomy" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}}
|
||||||
|
|
||||||
## Term pages
|
## Term pages
|
||||||
|
|
||||||
A term page is a list of pages associated with a given term.
|
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" >}}
|
{{< datatable-filtered "output" "layouts" "Kind == term" "Example" "OutputFormat" "Suffix" "Template Lookup Order" >}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user