feat: add fediverse_creator handle for Mastodon attribution
Expose a per-post fediverse_creator frontmatter field plus a site-wide default in config.toml ([site].fediverse_creator). The handle is returned in the post and site payloads, rendered as <dc:creator> in the RSS feed and as authors[].name in the JSON feed, so a front-end can drop it into <meta name="fediverse:creator"> on rendered pages. Per-post value overrides the site default. Validated against a simple @user@host regex. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [development]
|
||||
|
||||
### Added
|
||||
|
||||
- **Fediverse attribution:** a `fediverse_creator` frontmatter field (e.g.
|
||||
`@user@mastodon.social`) plus a site-wide `[site].fediverse_creator` default
|
||||
in `config.toml`. The value is exposed as `fediverse_creator` on post and
|
||||
site payloads, rendered as `<dc:creator>` in the RSS feed, as `authors[].name`
|
||||
in the JSON feed, and can be consumed by a front-end to emit
|
||||
`<meta name="fediverse:creator">` on rendered pages. Per-post values
|
||||
override the site default.
|
||||
|
||||
## [0.2.0] — 2026-06-25
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user