hugo/content/en/variables/page.md
Bjørn Erik Pedersen 9b0050e9aa Squashed 'docs/' content from commit 5c085a37b
git-subtree-dir: docs
git-subtree-split: 5c085a37b297bf12f59efeaae591418ec025c10d
2024-01-27 10:48:33 +01:00

1.9 KiB

title description categories keywords menu weight toc
Page variables Use these methods with a Page object.
variables
docs
parent weight
variables 50
50 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.

{{< 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.

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