diff options
| -rw-r--r-- | layouts/library/section.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/library/section.html b/layouts/library/section.html index fa3b9e95..cb7e1734 100644 --- a/layouts/library/section.html +++ b/layouts/library/section.html @@ -3,7 +3,7 @@ {{ $isLibraryHome := eq .RelPermalink "/library/" }} {{ $books := .RegularPages }} {{ if $isLibraryHome }} - {{ $sections := (sort .Sections) | collections.Reverse }} + {{ $sections := (sort .Sections "value" "asc") }} {{ range $sections }} {{ $books = $books | append .RegularPages }} {{ end }} |
