gatsby-starter-prismic | starter using Prismic and GatsbyJS | Frontend Framework library
kandi X-RAY | gatsby-starter-prismic Summary
kandi X-RAY | gatsby-starter-prismic Summary
A starter using Prismic and GatsbyJS with good practices built in (Storybook, Cypress)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gatsby-starter-prismic
gatsby-starter-prismic Key Features
gatsby-starter-prismic Examples and Code Snippets
Community Discussions
Trending Discussions on gatsby-starter-prismic
QUESTION
I have a basic blog setup with Gatsby and at the time of posting this question there lacks good documentation for SEO components. There are examples of basic SEO components but what I am wanting is a little more in-depth. Maybe, if a solution is reached here it could be contributed to the Gatsby docs for others to benefit.
On top of the usual title and description meta tags and the facebook/twitter open graph meta (which I have done already), I want to add structured data for rich snippets which will vary depending on what the blog post type is. For example, I might have a regular post which would print Article schema, some posts might be How-to, in which case I'd like to print HowTo schema instead of Article. At some point I might write a post with would suit FAQ schema.
I don't know if this is the best approach but here's what I'm thinking:
1. In frontmatter set the schema type I want to true, leave the rest false.I am also thinking of storing the schema data in the frontmatter but as this data is quite complex and will vary from post type to post type (Article, HowTo etc.) I'm not sure if this is yet a good idea?
...ANSWER
Answered 2019-Nov-22 at 05:53In frontmatter:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gatsby-starter-prismic
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page