mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 14:14:42 -04:00
Clarify .Data.Pages sorting in lists.md
This commit is contained in:
parent
092271c24c
commit
2bdc771063
@ -217,7 +217,7 @@ This list template has been modified slightly from a template originally used in
|
|||||||
|
|
||||||
Hugo lists render the content based on metadata you provide in [front matter][]. In addition to sane defaults, Hugo also ships with multiple methods to make quick work of ordering content inside list templates:
|
Hugo lists render the content based on metadata you provide in [front matter][]. In addition to sane defaults, Hugo also ships with multiple methods to make quick work of ordering content inside list templates:
|
||||||
|
|
||||||
### Default List Ordering: Weight > Date
|
### Default: Weight > Date > LinkTitle > FilePath
|
||||||
|
|
||||||
{{% code file="layouts/partials/default-order.html" %}}
|
{{% code file="layouts/partials/default-order.html" %}}
|
||||||
```html
|
```html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user