aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Layouts/Layout.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-19 15:50:23 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-19 15:50:23 +0100
commita16d23dcde76874fab4b6bdb45067fd01b88cdc1 (patch)
tree540cfed27a1200ed6bdbc3a445d6dd8a4dc969fb /src/components/Layouts/Layout.tsx
parent1fa8d8281371db25ef9382b6087b7f3c0db73fe3 (diff)
chore: add opengraph and twitter meta
Diffstat (limited to 'src/components/Layouts/Layout.tsx')
-rw-r--r--src/components/Layouts/Layout.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx
index 1ca954a..0a3aa3d 100644
--- a/src/components/Layouts/Layout.tsx
+++ b/src/components/Layouts/Layout.tsx
@@ -45,6 +45,14 @@ const Layout = ({
return (
<>
<Head>
+ <meta property="og:site_name" content={config.name} />
+ <meta
+ property="og:locale"
+ content={`${config.locales.defaultLocale}_${config.locales.defaultCountry}`}
+ />
+ <meta property="twitter:card" content="summary" />
+ <meta property="twitter:site" content={config.twitterId} />
+ <meta property="twitter:creator" content={config.twitterId} />
<link
rel="alternate"
href="/feed.xml"