Move authors to optional site params

This commit is contained in:
Will Faught
2023-02-05 14:09:51 -08:00
parent f1550ae23b
commit 3ff397da0e

View File

@@ -180,12 +180,6 @@ $ hugo server -D
There is a single parameter object with sensible defaults that can be overridden in site or page parameters:
```yaml
authors:
michael_bluth:
name: "Michael Bluth"
default: true # Credit this author in pages that have no authors parameter
george_bluth:
name: "George Bluth"
paige:
analytics:
chartbeat: # chartbeat.com
@@ -345,6 +339,17 @@ paige:
If you set `hide_credit_data` or `hide_credit_link`, please credit this project in a post to help others find it.
Optional site parameters:
```yaml
authors:
michael_bluth:
name: "Michael Bluth"
default: true # Credit this author in pages that have no authors parameter
george_bluth:
name: "George Bluth"
```
Optional page parameters:
```yaml