Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add Schema / structured data with the help of Astro SEO? #73

Open
concaption opened this issue Aug 7, 2023 · 2 comments
Open

Comments

@concaption
Copy link

I am unsure about weather astro-seo provides the capability of integrating structured data or schema in a website or not. If there is any way do let me know.

@jonasmerlin
Copy link
Owner

@concaption This is currently not supported as a stand-alone feature, but should be possible by using the meta tag extension feature (extend.meta and extend.link). Maybe have a look at those and see if they fit your use case.

@ttmc
Copy link

ttmc commented Feb 24, 2024

I had the same question at first, because Google does sometimes read and use other kinds of structured metadata/

However, I'm not sure this is a job for astro-seo, and here's an example of why:

Suppose I have a website with recipes (i.e. recipes explaining how to prepare food items). I might want to add some standardized metadata to each recipe page, such as this:

https://schema.org/Recipe

As you can see, that's a lot! And that metadata wouldn't necessarily go in the head tag, which is where the astro-seo SEO component goes. Better would be a specific component, or set of components, provided by a recipe-specific Astro integration.

Moreover, recipes aren't the only thing that has standardized metadata. If you browse around schema.org for a while, you'll be amazed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants