mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-25 20:15:58 +00:00
* Add meta author, description and generator tags * Add Hugo version beside the logo and in the footer * Suggest the user to run `go get -u -v` to update dependencies * Requires Go 1.3+ rather than Go 1.1+ * Improve rendering/formatting in some places * Add trailing slash to URLs where appropriate * GitHub redirects all http requests to https, update accordingly
1.0 KiB
1.0 KiB
date, linktitle, menu, next, prev, title, weight
| date | linktitle | menu | next | prev | title | weight | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| 2014-03-06 | Ordering |
|
/content/summaries | /content/archetypes | Ordering Content | 60 |
Hugo provides you with all the flexibility you need to organize how your content is ordered.
By default, content is ordered by weight, then by date with the most
recent date first, but alternative sorting (by title and linktitle) is
also available. The order the content would appear is specified in
the list template.
Both the date and weight fields are optional.
Unweighted pages appear at the end of the list. If no weights are provided (or
if weights are the same), date will be used to sort. If neither is provided,
content will be ordered based on how it's read off the disk, and no order is
guaranteed.
Assigning weight to content
+++
weight = 4
title = "Three"
date = "2012-04-06"
+++
Front Matter with Ordered Pages 3
Ordering Content Within Taxonomies
Please see the Taxonomy Ordering Documentation.