Make SEO fields extendable on a per-collection basis #7093
V1OL3TF0X
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My use case is this - a page that features Albums and Songs for a specific band. I'd like to be able to append fields like
og:music:duration
to songs,og:music:musician
to an album etc, and have them appear with other SEO fields. (aither in the tab or in the SEO group)I was thinking about three solutions, relatively easy to implement (looking at the current SEO plugin implementation)
CollectionConfig
namedseo
or smth like that (really like the DX here, but that would mess with the types, because I don't think there is a way to make it plugin dependant),extraFields
dict in seoPlugin config, which would beRecord<slug, Field[]>
(I think worse DX since you've got two places controlling the specific collection config, but it would be the cleanest)Would love to hear what you think about it
Beta Was this translation helpful? Give feedback.
All reactions