fix sort by weight order

This commit is contained in:
Robert Kaussow 2020-02-05 16:46:29 +01:00
parent 4236e5708b
commit 803dc97324
4 changed files with 4 additions and 3 deletions

View file

@ -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 }}