Rename excludesearch to paigeexcludesearch
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user