Created
February 25, 2020 21:07
-
-
Save florianmartens/15c09a7c724f4c308b25852d798030a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Component Helmet | |
<Helmet> | |
<title>{post.title}</title> | |
<meta name="description" content={post.teaser.concat('...')} /> | |
<meta property="og:title" content={post.title} /> | |
<meta property="og:url" content={window.location.href} /> | |
<meta property="og:type" content="article" /> | |
<meta property="og:description" content={post.teaser} /> | |
<meta property="og:image" content={post.posttitleimage?.image || MockPostImage} /> | |
</Helmet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment