1
- import Layout from '@/components/common/Layout'
2
- import { Info } from '@/components/molecules/Alert'
3
- import PropTypes from 'prop-types'
4
1
import getPostTypeStaticPaths from '@/api/wordpress/_global/getPostTypeStaticPaths'
5
2
import getPostTypeStaticProps from '@/api/wordpress/_global/getPostTypeStaticProps'
3
+ import Layout from '@/components/common/Layout'
4
+ import { Info } from '@/components/molecules/Alert'
5
+ import { BlogJsonLd , NextSeo } from 'next-seo'
6
6
import Link from 'next/link'
7
+ import PropTypes from 'prop-types'
7
8
8
9
// Define route post type.
9
10
const postType = 'post'
@@ -21,6 +22,29 @@ export default function BlogPost({post, posts, archive}) {
21
22
if ( archive ) {
22
23
return (
23
24
< Layout title = "Blog" >
25
+ < NextSeo
26
+ title = "Query from Yoast SEO"
27
+ description = "Query from Yoast SEO"
28
+ openGraph = { {
29
+ title : 'Query from Yoast SEO' ,
30
+ description : 'Query from Yoast SEO' ,
31
+ images : [
32
+ {
33
+ url : 'Query from Yoast SEO' ,
34
+ alt : 'Query from Yoast SEO'
35
+ }
36
+ ]
37
+ } }
38
+ />
39
+ < BlogJsonLd
40
+ url = "Query from Yoast SEO"
41
+ title = "Query from Yoast SEO"
42
+ images = { [ 'Query from Yoast SEO' ] }
43
+ datePublished = "Query from Yoast SEO"
44
+ dateModified = "Query from Yoast SEO"
45
+ authorName = "Jane Blogs"
46
+ description = "Query from Yoast SEO"
47
+ />
24
48
< div className = "container" >
25
49
< section >
26
50
{ ! posts || ! posts . length ? (
0 commit comments