#414, Move commit and edit links to separate pertials to allow overwrites

This commit is contained in:
Alex Shpak
2024-10-02 23:16:25 +02:00
parent a424a062ca
commit 3f56e60b6d
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
{{ define "book-section-children" }}{{/* (dict "Section" .Section "CurrentPage" .CurrentPage) */}}
<ul>
{{ range (where .Section.Pages "Params.bookhidden" "ne" true) }}
{{ range (where .Section.Pages "Params.bookHidden" "ne" true) }}
{{ if .IsSection }}
<li {{- if .Params.BookFlatSection }} class="book-section-flat" {{ end -}}>
{{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }}