mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Clarify .Data.Pages sorting in lists.md
This commit is contained in:
1 parent
092271c24c
commit
2bdc771063
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user