-
-
Notifications
You must be signed in to change notification settings - Fork 642
Closed
Description
``I would like to know how we could integrate json schema for a Page.
One use next-seo to generate SEO schemas.
https://github.com/garmeeh/next-seo
It is already done for "Default Schema" but let's say I want to add FAQ.
Ideas:
- Add a property in the database where we can add json script directly
- Add a Javascript code block which will be converted to <script>
I don't have any idea which one is better / if it is usefull to someone ?
Exemple of script to be added :
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"FAQPage",
"mainEntity":[
{
"@type":"Question",
"name":"",
"acceptedAnswer":{
"@type":"Answer",
"text":""
}
}
]
}
</script>
Metadata
Metadata
Assignees
Labels
No labels