Restructure templates section

This commit is contained in:
Joe Mooring authored and GitHub committed 2024-06-25 12:01:08 -07:00
1 parent fafbf65669
commit 748bf065f9
90 files changed
+1045 -909

No files matched your search

@@ -35,6 +35,19 @@ Use the [`where`] function to filter page collections.
## Sort
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
[Date]: /methods/page/date/
[Weight]: /methods/page/weight/
[LinkTitle]: /methods/page/linktitle/
[Title]: /methods/page/title/
[Filename]: /methods/page/file/#filename
Use these methods to sort page collections.
{{< list-pages-in-section path=/methods/pages filter=methods_pages_sort filterType=include titlePrefix=. omitElementIDs=true titlePrefix=PAGES. >}}