File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,4 +79,5 @@ yarn-error.log
7979# === UNCOMMENT THIS ===
8080# public
8181
82- .env.development
82+ .env.development
83+ .env.production
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ const ArticlePage: React.FC<IArticlePage> = (props) => {
121121
122122 return (
123123 < PageLayout location = { location } page = { PageType . ARTICLE } >
124- < SEOMetadata pageTitle = { title } image = { imageSrc } />
124+ < SEOMetadata pageTitle = { title } description = { subTitle } image = { imageSrc } pathname = { location . pathname } type = "article" />
125125 < PageSection >
126126 < Wrapper >
127127 < FirstColumn >
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ interface ISEOMetadata {
1010 image ?: string ;
1111 pathname ?: string ;
1212 keywords ?: string [ ] ;
13+ type ?: string ;
1314}
1415
1516const SEOMetadata : React . FC < ISEOMetadata > = ( {
@@ -20,6 +21,7 @@ const SEOMetadata: React.FC<ISEOMetadata> = ({
2021 meta = [ ] ,
2122 pathname = '' ,
2223 keywords = [ ] ,
24+ type = 'website' ,
2325} ) => {
2426 const { site, allFile } = useStaticQuery ( graphql `
2527 query {
@@ -85,7 +87,7 @@ const SEOMetadata: React.FC<ISEOMetadata> = ({
8587 } ,
8688 {
8789 property : 'og:type' ,
88- content : 'website' ,
90+ content : type ,
8991 } ,
9092 {
9193 property : 'og:site_name' ,
You can’t perform that action at this time.
0 commit comments