From a16d23dcde76874fab4b6bdb45067fd01b88cdc1 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 19 Jan 2022 15:50:23 +0100
Subject: chore: add opengraph and twitter meta

---
 src/components/Layouts/Layout.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/components/Layouts/Layout.tsx')

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"
-- 
cgit v1.2.3

