Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub

Gatsby Plugin for SEO

Gatsby plugin for adding SEO metadata and socials share preview in SSR.

Installation

npm i @simpozio/gatsby-plugin-seo

Usage

Install plugin package from npm and add plugin configuration to your gatsby-config.js file

/* gatsby-config.js */
module.exports = {
  plugins: [
    {
      resolve: '@simpozio/gatsby-plugin-seo',
      options: {
        title: 'Site Title';
        description: 'Small description of the site';
        image: 'https://site.url/preview.jpg';
        url: 'https://site.url;
        username: '@twitter_username';
      }
    }
  ]
}

Options

  • title: string - site title
  • description: string - site description
  • image: string - absolute url for image
  • url: string - site url
  • username: string - twitter username with in format @username

Development

See simpozio-frontend-common library

© 2022 Gatsby, Inc.