mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
This commit is contained in:
63
docs/content/en/variables/page.md
Normal file
63
docs/content/en/variables/page.md
Normal file
@@ -0,0 +1,63 @@
|
||||
---
|
||||
title: Page variables
|
||||
description: Use these methods with a Page object.
|
||||
categories: [variables]
|
||||
keywords: []
|
||||
menu:
|
||||
docs:
|
||||
parent: variables
|
||||
weight: 50
|
||||
weight: 50
|
||||
toc: true
|
||||
---
|
||||
|
||||
{{% include "variables/_common/consistent-terminology.md" %}}
|
||||
|
||||
## All methods
|
||||
|
||||
Use any of these methods in your templates.
|
||||
|
||||
{{< list-pages-in-section path=/methods/page titlePrefix=. >}}
|
||||
|
||||
## Dates
|
||||
|
||||
Use these methods to access content dates.
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_dates filterType=include titlePrefix=. omitElementIDs=true >}}
|
||||
|
||||
## Multilingual
|
||||
|
||||
Use these methods with your multilingual projects.
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_multilingual filterType=include titlePrefix=. omitElementIDs=true >}}
|
||||
|
||||
## Navigation
|
||||
|
||||
Use these methods to create navigation links between pages.
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_navigation filterType=include titlePrefix=. omitElementIDs=true >}}
|
||||
|
||||
## Page collections
|
||||
|
||||
Range through these collections when rendering lists on [section] pages, [taxonomy] pages, [term] pages, and the home page.
|
||||
|
||||
[section]: /getting-started/glossary/#section
|
||||
[taxonomy]: /getting-started/glossary/#taxonomy
|
||||
[term]: /getting-started/glossary/#term
|
||||
[context]: /getting-started/glossary/#context
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_page_collections filterType=include titlePrefix=. omitElementIDs=true >}}
|
||||
|
||||
## Parameters
|
||||
|
||||
Use these methods to access page parameters.
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_parameters filterType=include titlePrefix=. omitElementIDs=true >}}
|
||||
|
||||
## Sections
|
||||
|
||||
Use these methods to access section pages, and their ancestors and descendants. See [details].
|
||||
|
||||
[details]: /content-management/sections/
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_sections filterType=include titlePrefix=. omitElementIDs=true >}}
|
Reference in New Issue
Block a user