Skip to content

Commit

Permalink
Fix the title and desc tags
Browse files Browse the repository at this point in the history
  • Loading branch information
domyen committed Jun 21, 2018
1 parent a8437b0 commit af82b6a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/layouts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,18 @@ const TemplateWrapper = ({
children,
}) => (
<Fragment>
<Helmet title={title} meta={[{ name: 'description', content: description }]}>
<Helmet>
<link
rel="shortcut icon"
type="image/png"
href="/icon-learnstorybook.png"
sizes="16x16 32x32 64x64"
/>
<title>{title}</title>
<meta name="description" content={description} />

<meta property="og:image" content="/opengraph-cover.jpg" />
<meta name="twitter:image" content="/opengraph-cover.jpg" />
<meta property="og:image" content="https://www.learnstorybook.com/opengraph-cover.jpg" />
<meta name="twitter:image" content="https://www.learnstorybook.com/opengraph-cover.jpg" />
<meta property="og:url" content={permalink} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
Expand Down

0 comments on commit af82b6a

Please sign in to comment.