mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'
This commit is contained in:
@@ -53,7 +53,7 @@ To process an emoji shortcode from within a template, use the [`emojify`] functi
|
||||
[`emojify`]: /functions/transform/emojify/
|
||||
[`RenderString`]: /methods/page/renderstring/
|
||||
|
||||
{{% comment %}}
|
||||
<!--
|
||||
To generate the sections below:
|
||||
|
||||
git clone https://github.com/ikatyang/emoji-cheat-sheet
|
||||
@@ -67,7 +67,7 @@ Then...
|
||||
2. Search/replace (regex) "^###\s" with "## "
|
||||
3. Search/replace "^####\s " with "### "
|
||||
4. Search/replace (regex) "<br />" ""
|
||||
{{% /comment %}}
|
||||
-->
|
||||
|
||||
## Table of Contents
|
||||
|
||||
|
@@ -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