File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/gatsby-theme-iterative Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @dvcorg/gatsby-theme-iterative" ,
3- "version" : " 0.1.19 " ,
3+ "version" : " 0.1.20 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "types" : " src/typings.d.ts" ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export interface IPaginatorPageInfo {
1414interface ISEOProps {
1515 title ?: string
1616 defaultMetaTitle ?: boolean
17+ skipTitleTemplate ?: boolean
1718 description ?: string
1819 keywords ?: string
1920 imageAlt ?: string
@@ -28,6 +29,7 @@ interface ISEOProps {
2829const SEO : React . FC < ISEOProps > = ( {
2930 title,
3031 defaultMetaTitle,
32+ skipTitleTemplate,
3133 description,
3234 keywords,
3335 image,
@@ -69,7 +71,11 @@ const SEO: React.FC<ISEOProps> = ({
6971 ] )
7072
7173 return (
72- < Helmet title = { pageTitle } meta = { [ ...prebuildMeta , ...meta ] } >
74+ < Helmet
75+ title = { pageTitle }
76+ { ...( skipTitleTemplate && { titleTemplate : '' } ) }
77+ meta = { [ ...prebuildMeta , ...meta ] }
78+ >
7379 { children }
7480 </ Helmet >
7581 )
You can’t perform that action at this time.
0 commit comments