Rename default to paige.author.default
This commit is contained in:
@@ -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"
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user