Skip to content

[Question] Add Json Schema into a notion Page #488

@slamer59

Description

@slamer59

``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:

  1. Add a property in the database where we can add json script directly
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions