pittica/gatsby-plugin-seo

License Version Release Gatsby version React version

Description

SEO plugin for GatsbyJS.

Install

npm

npm install @pittica/gatsby-plugin-seo

Usage

The plugin provides SEO optimization.

Configuration

Edit your gatsby-config.js.

module.exports = {
  plugins: [
    {
      resolve: `@pittica/gatsby-plugin-seo`,
      options: {
        image: `/DEFAULT_SHARING_IMAGE.jpg`,
        socials: {
          instagram: {
            username: `INSTAGRAM_USERNAME`,
            icon: `instagram-icon-class`,
            show: true
          },
          github: {
            username: `GITHUB_USERNAME`,
            icon: `github-icon-class`,
            show: true
          },
          facebook: {
            page: `FACEBOOK_PAGE_USERNAME`,
            app: `FACEBOOK_APP_ID`,
            icon: `facebook-icon-class`,
            show: true
          },
          twitter: {
            username: `TWITTER_USERNAME`,
            site: `TWITTER_SITE_USERNAME`,
            icon: `twitter-icon-class`,
            show: true
          },
          linkedin: {
            page: `LINKEDIN_PAGE_USERNAME`,
            icon: `linkedin-icon-class`,
            show: true
          }
        }
      }
    },
  ],
}

(c) 2020-2021, Pittica S.r.l.s..