aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-03-11 23:16:15 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-03-11 23:16:15 +0100
commit5ba88ccad5249a80ae4abea3b6a072b896e3a7c0 (patch)
treeb04e0cb04f97be20e9a250d56c735366bbd44d5b
parent392f75d2c7fc8de04e32da16c8b58875adfee620 (diff)
#179, Use only regular pages for search index
-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 b4d2cfa..2fe0e02 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.Pages }}
+ {{ range $index, $page := .Site.RegularPages }}
index.add({
'id': {{ $index }},
'href': '{{ $page.RelPermalink }}',