diff --git a/README.md b/README.md index 9f6d5a46..8ea4dc59 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/layouts/partials/paige/func-authors.html b/layouts/partials/paige/func-authors.html index 2d49aa52..0f99ab6d 100644 --- a/layouts/partials/paige/func-authors.html +++ b/layouts/partials/paige/func-authors.html @@ -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 }}