From f335f0c59e935770404a8844e37900308570ece4 Mon Sep 17 00:00:00 2001 From: Aleksandr Filatov Date: Tue, 23 Oct 2018 15:04:44 -0700 Subject: [PATCH] update open graph meta tags attributes from name to property (#9302) Fix for issue #9288 Replaced "name=og:" -> "property=og." --- .../src/components/HelmetBlock/index.js | 14 +++++++------- .../gatsby-plugin-offline/src/__tests__/index.html | 4 ++-- www/src/components/layout.js | 4 ++-- www/src/components/package-readme.js | 6 +++--- www/src/components/showcase-details.js | 2 +- www/src/templates/template-blog-post.js | 8 ++++---- www/src/templates/template-docs-markdown.js | 6 +++--- www/src/templates/template-starter-page.js | 10 ++++++---- www/src/views/starter-library/index.js | 6 +++--- 9 files changed, 31 insertions(+), 29 deletions(-) diff --git a/examples/using-javascript-transforms/src/components/HelmetBlock/index.js b/examples/using-javascript-transforms/src/components/HelmetBlock/index.js index 454acbf6e71b0..9a56311210173 100644 --- a/examples/using-javascript-transforms/src/components/HelmetBlock/index.js +++ b/examples/using-javascript-transforms/src/components/HelmetBlock/index.js @@ -11,21 +11,21 @@ class HelmetBlock extends React.Component { {frontmatter.title} - - - + + + - + diff --git a/packages/gatsby-plugin-offline/src/__tests__/index.html b/packages/gatsby-plugin-offline/src/__tests__/index.html index aabb3acfbe765..92008860fd653 100644 --- a/packages/gatsby-plugin-offline/src/__tests__/index.html +++ b/packages/gatsby-plugin-offline/src/__tests__/index.html @@ -56,8 +56,8 @@ Home | Gatsby Inc. - - + + diff --git a/www/src/components/layout.js b/www/src/components/layout.js index ba62c54587344..9a50e76b3ec4c 100644 --- a/www/src/components/layout.js +++ b/www/src/components/layout.js @@ -149,8 +149,8 @@ class DefaultLayout extends React.Component {
- - + + {packageName} - + - - + + diff --git a/www/src/components/showcase-details.js b/www/src/components/showcase-details.js index 9e5e00f5f60d4..e3909e42bfd87 100644 --- a/www/src/components/showcase-details.js +++ b/www/src/components/showcase-details.js @@ -263,7 +263,7 @@ const ShowcaseDetails = ({ parent, data, isModal, categories }) => ( {data.sitesYaml.title} - + - + {post.frontmatter.image && ( )} - + {page.frontmatter.title} - + + + - - diff --git a/www/src/templates/template-starter-page.js b/www/src/templates/template-starter-page.js index 5468a893a0fea..def25d4ddfc55 100644 --- a/www/src/templates/template-starter-page.js +++ b/www/src/templates/template-starter-page.js @@ -60,9 +60,10 @@ class StarterTemplate extends React.Component { {`${repoName}: Gatsby Starter`} + - - + + + diff --git a/www/src/views/starter-library/index.js b/www/src/views/starter-library/index.js index 26008277d31c3..40d449dce9ece 100644 --- a/www/src/views/starter-library/index.js +++ b/www/src/views/starter-library/index.js @@ -27,15 +27,15 @@ class StarterLibraryPage extends Component { content={`Gatsby Starters: ${filtersApplied}`} /> - - + +