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.

  1. <title>, og:title & twitter:title If the page is an article then this value is taken from frontmatter title. frontmatter for this article

    If its any other type of page (e.g. index page) then the value depends on Display Title which can be added/edited from dashboard display title for the site

  2. description, og:description & twitter:description If the page is an article then this value is taken from frontmatter description if its available or else a summary is auto generated consisting of article text.

  3. keywords, article:tag Same as above, value is take from frontmatter keywords. 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
    
  4. canonical & og:url Auto generated based on URL of curren page. This value is customizable from frontmatter example

    params:
        canonicalURL: https://example.com/blogs/canonical-url
    

    Customization allows you for cross posting on multiple platforms without plagarizing all over the internet.

  5. copyright This one is not autogenerated and must be added to frontmatter. Example

    params:
        copyright: Copyright Kriti.blog, 20xx
    
  6. rating Rating indicates rating value of the content on current page as per these guidelines

    params:
        copyright: adult
    
  7. author, article:author & twitter:creator Author, whoever wrote the current article, taken from frontmatter

    author:
        name: John Doe
        socials:
            x: @john_doe
    

    For now only X (formerly Twitter) is supported under socials which is also used for twitter:creator.

    To add mutliple authors

    author:
    - name: John Doe
      socials: 
        x: @john_doe
    - name: Jane Doe
      socials:
        x: @jane_doe
    
  8. robots and friends There are so many robots, one for every search engine and Kriti supports them all

    params:
        crawlers:
            robots: index, dofollow
            googlebot: notranslate
            bingbot: nocache
    
  9. 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.

  10. 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, example

    params:
        meta:
            pinterest: nopin
            google-site-verification: verification-tag