Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-advanced-sitemap-modest

Identical to the gatsby-plugin-advanced-sitemap but includes the hideAttribution option that’s been up as a pull request by (sonaltr)[https://github.com/sonaltr]

Demo: https://brightcove.com/sitemap.xml  

NOTE: This plugin only generates output in production mode! To test, run: gatsby build && gatsby serve

 

Install

Installing 1.0.1 will give you the hide attribution feature + match the rest of the advanced sitemap features. Everything after that is wild nonsense to make the brightcove.com sitemap work.

npm install --save gatsby-plugin-advanced-sitemap-modest@1.0.1

How to Use

Same as gatsby-plugin-advanced-sitemap but with the ability to hide the attribution

// gatsby-config.js

plugins: [
    {
        resolve: `gatsby-plugin-advanced-sitemap-modest`,
        options: {
            hideAttribution: true
        }
    }
]

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.

© 2024 Gatsby, Inc.