mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
add sort to menu
This commit is contained in:
parent
4a87a6c0de
commit
f262ff881c
@ -15,7 +15,7 @@
|
||||
{{ define "book-section-children" }}{{/* (dict "Section" .Section "CurrentPage" .CurrentPage) */}}
|
||||
<ol>
|
||||
|
||||
{{ range (where .Section.Pages "Params.bookhidden" "ne" true) }}
|
||||
{{ range sort (where .Section.Pages "Params.bookhidden" "ne" true) }}
|
||||
{{ if .IsSection }}
|
||||
<details>
|
||||
<summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user