2019-10-21 08:22:28 +00:00
|
|
|
---
|
2023-07-29 09:15:54 +00:00
|
|
|
title: Page variables
|
2023-12-04 14:14:18 +00:00
|
|
|
description: Use these methods with a Page object.
|
|
|
|
categories: [variables]
|
|
|
|
keywords: []
|
2019-10-21 08:22:28 +00:00
|
|
|
menu:
|
|
|
|
docs:
|
2023-05-22 14:43:12 +00:00
|
|
|
parent: variables
|
2023-12-04 14:14:18 +00:00
|
|
|
weight: 50
|
|
|
|
weight: 50
|
2019-10-21 08:22:28 +00:00
|
|
|
toc: true
|
|
|
|
---
|
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{% include "variables/_common/consistent-terminology.md" %}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
## All methods
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Use any of these methods in your templates.
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page titlePrefix=. >}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
## Dates
|
2023-01-17 11:51:01 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Use these methods to access content dates.
|
2022-01-12 07:15:10 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page filter=methods_page_dates filterType=include titlePrefix=. omitElementIDs=true >}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
## Multilingual
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Use these methods with your multilingual projects.
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page filter=methods_page_multilingual filterType=include titlePrefix=. omitElementIDs=true >}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
## Navigation
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Use these methods to create navigation links between pages.
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page filter=methods_page_navigation filterType=include titlePrefix=. omitElementIDs=true >}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-08-30 17:23:47 +00:00
|
|
|
## Page collections
|
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Range through these collections when rendering lists on [section] pages, [taxonomy] pages, [term] pages, and the home page.
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
[section]: /getting-started/glossary/#section
|
|
|
|
[taxonomy]: /getting-started/glossary/#taxonomy
|
|
|
|
[term]: /getting-started/glossary/#term
|
|
|
|
[context]: /getting-started/glossary/#context
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page filter=methods_page_page_collections filterType=include titlePrefix=. omitElementIDs=true >}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
## Parameters
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Use these methods to access page parameters.
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page filter=methods_page_parameters filterType=include titlePrefix=. omitElementIDs=true >}}
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
## Sections
|
2023-05-22 14:43:12 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
Use these methods to access section pages, and their ancestors and descendants. See [details].
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
[details]: /content-management/sections/
|
2019-10-21 08:22:28 +00:00
|
|
|
|
2023-12-04 14:14:18 +00:00
|
|
|
{{< list-pages-in-section path=/methods/page filter=methods_page_sections filterType=include titlePrefix=. omitElementIDs=true >}}
|