hugo/docs/content/en/variables/pages.md
Bjørn Erik Pedersen 5fd1e74903
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
```
git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
```

Closes #11925
2024-01-27 10:48:57 +01:00

39 lines
1 KiB
Markdown

---
title: Pages variables
description: Use these methods with a collection of Page objects.
categories: [variables]
keywords: []
menu:
docs:
parent: variables
weight: 60
weight: 60
toc: true
aliases: [/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 >}}