diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-16 12:18:33 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-16 12:18:33 +0800 |
| commit | a6bbc290f414958a5fcaa35a4b8892ef0e29ab6e (patch) | |
| tree | 1e9387f610a0cfd0b86f663a1471e457ca10689a /layouts | |
| parent | 68dffb040cb13e8c39a0ddd4e675c26b123f5c8b (diff) | |
fix: library list reversed
Former-commit-id: 5c4585d5a704eed4c2f079971ff9db1ca6896067
Diffstat (limited to 'layouts')
| -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 ce2e6ff6..2c21d89a 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 | collections.Reverse}} + {{ $sections := .Sections }} {{ range $sections }} {{ $books = $books | append .RegularPages }} {{ end }} |
