From 0c821ff587908162c042ee51ea14f2daa32ba550 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 14 Dec 2022 18:06:00 -0800 Subject: [PATCH] Rename excludesearch to paigeexcludesearch --- README.md | 2 +- layouts/_default/home.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1207c859..a8097e50 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ If you set either `paigehidethemecomment` or `paigehidethemelink`, please credit Optional page parameters: ```yaml -excludesearch: true # Don't include this page in search results +paigeexcludesearch: true # Don't include this page in search results link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title math: true # Enable math typesetting with KaTeX ``` diff --git a/layouts/_default/home.json b/layouts/_default/home.json index a43fddf9..a7502850 100644 --- a/layouts/_default/home.json +++ b/layouts/_default/home.json @@ -1,5 +1,5 @@ {{- $.Scratch.Add "index" slice -}} -{{- range where .Site.Pages "Params.excludesearch" "ne" true -}} +{{- range where .Site.Pages "Params.paigeexcludesearch" "ne" true -}} {{- $title := .Title | markdownify | plainify | htmlUnescape -}} {{- if and (not $title) .IsHome }} {{- $title = site.Title }}