Rename default to paige.author.default

This commit is contained in:
Will Faught
2025-03-08 22:21:28 -08:00
parent 1bdb2806b3
commit e81e699b41
2 changed files with 2 additions and 1 deletions

View File

@@ -358,6 +358,7 @@ Parameters specific to author term pages (if the "authors" taxonomy is configure
```toml
[paige.author]
default = false # Whether to attribute pages without explicit authors to this author
email = "" # Example: "example@example.com"
name = "" # Example: "John Doe"
url = "" # Example: "https://example.com"

View File

@@ -4,7 +4,7 @@
{{ if and (not $result) $page.IsPage site.Taxonomies.authors }}
{{ range $id, $taxonomy := site.Taxonomies.authors }}
{{ if eq $taxonomy.Page.Params.default true }}
{{ if eq $taxonomy.Page.Params.paige.author.default true }}
{{ $result = $result | append $taxonomy.Page }}
{{ end }}
{{ end }}