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
|
```toml
|
||||||
[paige.author]
|
[paige.author]
|
||||||
|
default = false # Whether to attribute pages without explicit authors to this author
|
||||||
email = "" # Example: "example@example.com"
|
email = "" # Example: "example@example.com"
|
||||||
name = "" # Example: "John Doe"
|
name = "" # Example: "John Doe"
|
||||||
url = "" # Example: "https://example.com"
|
url = "" # Example: "https://example.com"
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{{ if and (not $result) $page.IsPage site.Taxonomies.authors }}
|
{{ if and (not $result) $page.IsPage site.Taxonomies.authors }}
|
||||||
{{ range $id, $taxonomy := 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 }}
|
{{ $result = $result | append $taxonomy.Page }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user