diff --git a/layouts/_default/index.json b/layouts/_default/index.json index deef3c9e..436f9e65 100644 --- a/layouts/_default/index.json +++ b/layouts/_default/index.json @@ -1,6 +1,7 @@ {{- $.Scratch.Add "index" slice -}} {{- range .Site.RegularPages -}} + {{- if not .Params.searchHidden }} {{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary) -}} + {{- end }} {{- end -}} {{- $.Scratch.Get "index" | jsonify -}} -