mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'
This commit is contained in:
@@ -13,11 +13,8 @@ toc: true
|
||||
|
||||
## Page
|
||||
|
||||
Use these `Page` methods 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
|
||||
assets/
|
||||
Use these `Page` methods when rendering lists on [section pages](g), [taxonomy pages](g), [term pages](g), and the home page.
|
||||
|
||||
{{< list-pages-in-section path=/methods/page filter=methods_page_page_collections filterType=include omitElementIDs=true titlePrefix=PAGE. >}}
|
||||
|
||||
@@ -38,9 +35,9 @@ Use the [`where`] function to filter page collections.
|
||||
By default, Hugo sorts page collections by:
|
||||
|
||||
1. [Weight]
|
||||
2. [Date] in descending order
|
||||
3. [LinkTitle] falling back to [Title]
|
||||
4. [Filename] if the page is backed by a file
|
||||
1. [Date] in descending order
|
||||
1. [LinkTitle] falling back to [Title]
|
||||
1. [Filename] if the page is backed by a file
|
||||
|
||||
[Date]: /methods/page/date/
|
||||
[Weight]: /methods/page/weight/
|
||||
|
Reference in New Issue
Block a user