From 5ba88ccad5249a80ae4abea3b6a072b896e3a7c0 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 11 Mar 2020 23:16:15 +0100 Subject: #179, Use only regular pages for search index --- assets/search-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/search-data.js') 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 }}', -- cgit v1.2.3