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

Use Structured Data for FAQ for SEO #1

Closed
aaronmgdr opened this issue Jun 15, 2021 · 1 comment
Closed

Use Structured Data for FAQ for SEO #1

aaronmgdr opened this issue Jun 15, 2021 · 1 comment

Comments

@aaronmgdr
Copy link

aaronmgdr commented Jun 15, 2021

Structured data will help people find the answers to their questions when searching via a search engine.

https://developers.google.com/search/docs/data-types/faqpage

Hard part is that right now the content is mixed with the html/components. possible solution is plain text in json with {title, body} but that would have us lose linking and formating of body. Maybe an array of json with body field as markdown would work?

@AlexBHarley
Copy link
Owner

Oh cool! Didn't know about that.

I see the easiest way to work with existing code is just passing the additional props (e.g. itemprop="mainEntity" itemtype="https://schema.org/Question") but maybe makes sense to have an array shared between the <head /> and main content. That would still allow formatting with HTML.

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

No branches or pull requests

2 participants