Skip to content
Snippets Groups Projects
Commit 26fee555 authored by Alex Shpak's avatar Alex Shpak
Browse files

#528: hotfix for search, until we find a reason

parent 12de4671
Branches base-webtop
No related tags found
No related merge requests found
[ [
{{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}} {{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}}
{{- $pages = where $pages "Params.booksearchexclude" "!=" true -}} {{- $pages = where $pages "Params.booksearchexclude" "!=" true -}}
{{- $pages = where $pages "Content" "not in" (slice nil "") -}} {{/* 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" "!=" "" -}}
{{ range $index, $page := $pages }} {{ range $index, $page := $pages }}
{{ if gt $index 0}},{{end}} { {{ if gt $index 0}},{{end}} {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment