Skip to content

Add blog feature toggle and publisher metadata - #896

Merged
poppastring merged 2 commits into
mainfrom
blog-website-meta-config
Sep 15, 2026
Merged

poppastring merged 2 commits into
mainfrom
blog-website-meta-config

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Add blog feature toggle and publisher metadata

Add configurable publisher metadata and a global blog-features toggle.

  • Add PublisherType / publisher identity metadata and validation to site config and admin models.
  • Add EnableBlogFeatures to disable archive/category/feed/blog navigation while keeping comments configurable.
  • Gate feed/category/archive routes and nav UI with RequireBlogFeatures and BlogFeatureTagHelper.
  • Emit richer Schema.org JSON-LD for blog posts and homepage site identity using configured metadata.
  • Update admin settings UI and add/expand unit tests covering feature gating and publisher schema output.

Add configurable publisher metadata and a global blog-features toggle.

- Add `PublisherType` / publisher identity metadata and validation to site config and admin models.
- Add `EnableBlogFeatures` to disable archive/category/feed/blog navigation while keeping comments configurable.
- Gate feed/category/archive routes and nav UI with `RequireBlogFeatures` and `BlogFeatureTagHelper`.
- Emit richer Schema.org JSON-LD for blog posts and homepage site identity using configured metadata.
- Update admin settings UI and add/expand unit tests covering feature gating and publisher schema output.
This change simplifies the MetaTags XML model by removing deprecated publisher-related properties (PublisherName, PublisherUrl, PublisherImageUrl, and PublisherSameAs). The remaining social metadata fields, including PublisherType, MastodonServerUrl, and MastodonAccount, are retained to keep the schema aligned with the current metadata contract.
@poppastring
poppastring merged commit d05168d into main Sep 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant