From 4f2ae31d9244fe74e21c4cb1215158ff51079800 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 14 Dec 2022 17:59:09 -0800 Subject: [PATCH] Change search JSON to all pages --- layouts/_default/home.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/home.json b/layouts/_default/home.json index c9e894cb..ef30e56e 100644 --- a/layouts/_default/home.json +++ b/layouts/_default/home.json @@ -1,5 +1,5 @@ {{- $.Scratch.Add "index" slice -}} -{{- range where .Site.RegularPages "Params.excludesearch" "ne" true -}} +{{- range where .Site.Pages "Params.excludesearch" "ne" true -}} {{- $.Scratch.Add "index" (dict "title" (.Title | markdownify | plainify | htmlUnescape) "description" (.Description | markdownify | plainify | htmlUnescape)