fix sort by weight order
This commit is contained in:
parent
4236e5708b
commit
803dc97324
4 changed files with 4 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
{{ $current := .current }}
|
||||
{{ $site := .site }}
|
||||
|
||||
{{ range sort (default (seq 0) .sect) "weight" "desc" }}
|
||||
{{ range sort (default (seq 0) .sect) "weight" }}
|
||||
{{ $current.Scratch.Set "current" $current }}
|
||||
{{ $current.Scratch.Set "site" $site }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue