mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
39 lines
1 KiB
Markdown
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 >}}
|