Move paige.hide_{rss,search} to paige.page

This commit is contained in:
Will Faught
2023-02-05 10:58:44 -08:00
parent bf96b9af84
commit 0b84ad2626
3 changed files with 6 additions and 10 deletions

View File

@@ -315,6 +315,10 @@ paige:
reading_time:
class: "text-center text-secondary" # Default is "text-center text-secondary"
hide: false # Default is false
rss:
hide: true # Don't include this page in RSS feeds
search:
hide: true # Don't include this page in search results
tags:
class: "badge text-bg-secondary text-decoration-none" # Default is "badge text-bg-secondary text-decoration-none"
hide: false # Default is false
@@ -348,14 +352,6 @@ paige:
math: true # Enable math typesetting with KaTeX
```
Additional optional single page parameters:
```yaml
paige:
hide_rss: true # Don't include this page in RSS feeds
hide_search: true # Don't include this page in search results
```
Example `config.yaml`:
```yaml