summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/search-data.js2
1 files changed, 1 insertions, 1 deletions
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 }}',