Forget the pain of adding <meta />
tags individually Kriti does that for you.
What’s needed from me?
Most of the time nothing as long as you have front matter updated. All the metadata is picked from there.
Supported Meta tags
This is just phase 1 for this feature so more tags support should drop soon.
<title>
,og:title
&twitter:title
If the page is an article then this value is taken from frontmattertitle
.If its any other type of page (e.g. index page) then the value depends on
Display Title
which can be added/edited from dashboarddescription
,og:description
&twitter:description
If the page is an article then this value is taken from frontmatterdescription
if its available or else a summary is auto generated consisting of article text.keywords
,article:tag
Same as above, value is take from frontmatterkeywords
. These are list of words with one word on every new line. Example, add following lines within frontmatter and done (ofcourse replace with actual keywords that you need)keywords: - word1 - word2 - word99
canonical
&og:url
Auto generated based on URL of curren page. This value is customizable from frontmatter exampleparams: canonicalURL: https://example.com/blogs/canonical-url
Customization allows you for cross posting on multiple platforms without plagarizing all over the internet.
copyright
This one is not autogenerated and must be added to frontmatter. Exampleparams: copyright: Copyright Kriti.blog, 20xx
rating
Rating indicates rating value of the content on current page as per these guidelinesparams: copyright: adult
author
,article:author
&twitter:creator
Author, whoever wrote the current article, taken from frontmatterauthor: name: John Doe socials: x: @john_doe
For now only X (formerly Twitter) is supported under
socials
which is also used fortwitter:creator
.To add mutliple authors
author: - name: John Doe socials: x: @john_doe - name: Jane Doe socials: x: @jane_doe
robots
and friends There are so many robots, one for every search engine and Kriti supports them allparams: crawlers: robots: index, dofollow googlebot: notranslate bingbot: nocache
Other Open Graph & Twitter tags Some of these tags are supported right now as shown above, complete support for all tags are planned for next release.
What about other tags? There are so many meta tags to support, did you know you can prevent pinterest from saving any resource on your site by adding its meta tag
<meta name="pinterest" content="nopin" />
Here’s an extensive list. To add any of these tags which are not part of the explicitly supported add them in frontmatter under
params
, exampleparams: meta: pinterest: nopin google-site-verification: verification-tag