#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
@@ -1,6 +1,6 @@
[
{{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}}
{{- $pages = where $pages "Params.booksearchexclude" "!=" true -}}
{{- $pages = where $pages "Params.bookSearchExclude" "!=" true -}}
{{/* Remove until we know why it does not work, see https://github.com/alex-shpak/hugo-book/issues/528 */}}
{{/*- $pages = where $pages "Content" "not in" (slice nil "") -*/}}
{{- $pages = where $pages "Content" "!=" "" -}}