mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit 'd2b1030060d3c91d5f9ffa3456418da16bd74f1d'
This commit is contained in:
@@ -183,7 +183,7 @@ This list template has been modified slightly from a template originally used in
|
||||
|
||||
### Taxonomy Template
|
||||
|
||||
{{< code file="layouts/_default/taxonomies.html" download="taxonomies.html" >}}
|
||||
{{< code file="layouts/_default/taxonomy.html" download="taxonomy.html" >}}
|
||||
{{ define "main" }}
|
||||
<main>
|
||||
<div>
|
||||
@@ -216,6 +216,8 @@ Hugo lists render the content based on metadata you provide in [front matter][].
|
||||
|
||||
### By Weight
|
||||
|
||||
Lower weight gets higher precedence. So content with lower weight will come first.
|
||||
|
||||
{{< code file="layouts/partials/by-weight.html" >}}
|
||||
<ul>
|
||||
{{ range .Data.Pages.ByWeight }}
|
||||
|
Reference in New Issue
Block a user