node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Create a sitemap for your Gatsby site.


npm install --save gatsby-plugin-sitemap

How to Use

// In your gatsby-config.js
siteMetadata: {
  siteUrl: ``,
plugins: [
    resolve: `gatsby-plugin-sitemap`

Above is the minmal configuration required to have it work, however, note that the default query only retrieves nodes of type MarkdownRemark. Any parameter in defaultOptions can be overridden.