Skip to content

Update sitemap options in gatsby-config.js to hide pages we shouldn't be showing to Google etc #111

@sh1mmer

Description

@sh1mmer

Example of pages that should be hidden:

  • /getHelpSubmit

We might need some way of adding metadata to pages that should be hidden so we can make a graphQL query for them.

Docs on sitemap are here: https://www.gatsbyjs.org/packages/gatsby-plugin-sitemap/

p.s. the sitemap doesn't generate in dev mode locally with npm run develop so you have to run npm run build to get a production build instead, or if you have a PR the netlify preview will have it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions