quotes-nextjs

My favourite quotes. (nextjs)
git clone http://git.hanabi.in/repos/quotes-nextjs.git
Log | Files | Refs | LICENSE

commit 86665335a0aabb6dd840ec5a0c260c6f325b64ba
parent 4b0d648fff82dcde59358522914de7a0c8b79c98
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Thu, 15 Apr 2021 10:47:25 +0530

meta tags

Diffstat:
Mcomponents/CommonHead.js | 5+++++
Mcomponents/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} &bull; {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> ); }