hugo/docs/content/en/variables/pages.md
2023-12-04 15:24:01 +01:00

1 KiB

title description categories keywords menu weight toc aliases
Pages variables Use these methods with a collection of Page objects.
variables
docs
parent weight
variables 60
60 true
/variables/site-variables/

{{% include "variables/_common/consistent-terminology.md" %}}

All methods

Use any of these methods with page collections in your templates.

{{< list-pages-in-section path=/methods/pages titlePrefix=. >}}

Sort by

Use these methods to sort page collections.

{{< list-pages-in-section path=/methods/pages filter=methods_pages_sort filterType=include titlePrefix=. omitElementIDs=true >}}

Group by

Use these methods to group page collections.

{{< list-pages-in-section path=/methods/pages filter=methods_pages_group filterType=include titlePrefix=. omitElementIDs=true >}}

Navigation

Use these methods to create navigation links between pages.

{{< list-pages-in-section path=/methods/pages filter=methods_pages_navigation filterType=include titlePrefix=. omitElementIDs=true >}}