Add Twitter Card

This commit is contained in:
vstoms 2019-05-23 07:02:34 +02:00 committed by GitHub
parent 45d7dd3b03
commit 040424b184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ const Layout = ({ children, title, description }: Props) => (
<html lang="en" /> <html lang="en" />
<title>{title}</title> <title>{title}</title>
<meta name="description" content={description} /> <meta name="description" content={description} />
<meta property="og:site_name" content={title} />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content={title} />
</Helmet> </Helmet>
{children} {children}
</div> </div>