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 | 5c4585d5a704eed4c2f079971ff9db1ca6896067 (patch) | |
| tree | 352ea923995c78d5a2e8cf97e09ae5f2ea44c147 /layouts | |
| parent | 0f0b726320a52a7b3081da7a5d5a86cdfc32e366 (diff) | |
fix: library list reversed
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 }} |
