From c38ea4e4600b3b5dde8e0b19a251c9e3332e8a3f Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 29 Jan 2023 12:09:56 -0800 Subject: [PATCH] Rename index scratch to paige_index --- layouts/_default/home.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/home.json b/layouts/_default/home.json index 899e54f3..a01c80b7 100644 --- a/layouts/_default/home.json +++ b/layouts/_default/home.json @@ -1,8 +1,8 @@ {{- $page := . -}} -{{- $page.Scratch.Add "index" slice -}} +{{- $page.Scratch.Add "paige_index" slice -}} {{- range where $page.Site.RegularPages "Params.paige.hide_search" "ne" true -}} -{{- $page.Scratch.Add "index" (dict +{{- $page.Scratch.Add "paige_index" (dict "categories" .Params.categories "date" .PublishDate "description" (.Description | markdownify | plainify | htmlUnescape) @@ -12,4 +12,4 @@ "text" (strings.TrimRight " " (replace (.Plain | htmlUnescape) "\n" " ")) "title" (.Title | markdownify | plainify | htmlUnescape)) -}} {{- end -}} -{{- $page.Scratch.Get "index" | jsonify -}} +{{- $page.Scratch.Get "paige_index" | jsonify -}}