diff --git a/assets/search-data.js b/assets/search-data.js index 2fe0e02..859e6ad 100644 --- a/assets/search-data.js +++ b/assets/search-data.js @@ -16,7 +16,7 @@ const index = FlexSearch.create('balance', indexCfg); window.bookSearchIndex = index; - {{ range $index, $page := .Site.RegularPages }} + {{ range $index, $page := where .Site.Pages "Kind" "in" (slice "page" "section") }} index.add({ 'id': {{ $index }}, 'href': '{{ $page.RelPermalink }}',