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 2c21d89a..fa3b9e95 100644 --- a/layouts/library/section.html +++ b/layouts/library/section.html @@ -3,7 +3,7 @@ {{ $isLibraryHome := eq .RelPermalink "/library/" }} {{ $books := .RegularPages }} {{ if $isLibraryHome }} - {{ $sections := .Sections }} + {{ $sections := (sort .Sections) | collections.Reverse }} {{ range $sections }} {{ $books = $books | append .RegularPages }} {{ end }} |
