Home > gatsby-plugin-next-seo > BlogPostJsonLd
A utility component which wraps the <ArticleJsonLd />
component but is classified as a BlogPosting
.
Signature:
BlogPostJsonLd: FC<BlogPostJsonLdProps>
import React from 'react';
import { BlogPostJsonLd } from 'gatsby-plugin-next-seo';
export default () => (
<>
<h1>Blog Post JSON-LD</h1>
<BlogPostJsonLd
url='https://example.com/blog'
title='Blog headline'
images={[
'https://example.com/photos/1x1/photo.jpg',
'https://example.com/photos/4x3/photo.jpg',
'https://example.com/photos/16x9/photo.jpg',
]}
datePublished='2015-02-05T08:00:00+08:00'
dateModified='2015-02-05T09:00:00+08:00'
authorName='Jane Blogs'
description='This is a mighty good description of this blog.'
/>
</>
);