diff --git a/assets/search-data.json b/assets/search-data.json index 9a137c3..0348cbe 100644 --- a/assets/search-data.json +++ b/assets/search-data.json @@ -1,7 +1,9 @@ [ {{- $pages := where .Site.Pages "Kind" "in" (slice "page" "section") -}} {{- $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 }} {{ if gt $index 0}},{{end}} { diff --git a/exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.content b/exampleSite/resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.content similarity index 100% rename from exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.content rename to exampleSite/resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.content diff --git a/exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.json b/exampleSite/resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.json similarity index 100% rename from exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.json rename to exampleSite/resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.json