summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-16 12:18:33 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-16 12:18:33 +0800
commit5c4585d5a704eed4c2f079971ff9db1ca6896067 (patch)
tree352ea923995c78d5a2e8cf97e09ae5f2ea44c147
parent0f0b726320a52a7b3081da7a5d5a86cdfc32e366 (diff)
fix: library list reversed
-rw-r--r--layouts/library/section.html2
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 }}