Rename excludesearch to paigeexcludesearch

master
Will Faught 3 years ago
parent 1e9dd38da3
commit 0c821ff587

@ -185,7 +185,7 @@ If you set either `paigehidethemecomment` or `paigehidethemelink`, please credit
Optional page parameters: Optional page parameters:
```yaml ```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 link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title
math: true # Enable math typesetting with KaTeX math: true # Enable math typesetting with KaTeX
``` ```

@ -1,5 +1,5 @@
{{- $.Scratch.Add "index" slice -}} {{- $.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 -}} {{- $title := .Title | markdownify | plainify | htmlUnescape -}}
{{- if and (not $title) .IsHome }} {{- if and (not $title) .IsHome }}
{{- $title = site.Title }} {{- $title = site.Title }}

Loading…
Cancel
Save