commit 86665335a0aabb6dd840ec5a0c260c6f325b64ba parent 4b0d648fff82dcde59358522914de7a0c8b79c98 Author: Agastya Chandrakant <me@hanabi.in> Date: Thu, 15 Apr 2021 10:47:25 +0530 meta tags Diffstat:
M | components/CommonHead.js | | | 5 | +++++ |
M | components/HeadTitle.js | | | 3 | ++- |
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/components/CommonHead.js b/components/CommonHead.js @@ -24,6 +24,11 @@ function CommonHead({ cover }) { key="viewport" /> <meta name="description" content={site.description} key="description" /> + <meta + name="twitter:description" + content={site.description} + key="twitterdescription" + /> <meta property="og:site_name" content={site.name} key="site_name" /> <meta property="og:type" content="website" key="type" /> <meta property="og:image" content={cover} key="image" /> diff --git a/components/HeadTitle.js b/components/HeadTitle.js @@ -8,7 +8,8 @@ function HeadTitle({ title, ogtitle }) { <title> {title} • {site.title} </title> - <meta property="og:title" content={ogtitle} /> + <meta property="og:title" content={ogtitle} key="ogtitle" /> + <meta property="twitter:title" content={ogtitle} key="twittertitle" /> </Head> ); }