Skip to content

Commit

Permalink
chore: added a note about disallowing paths for robots
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed May 29, 2020
1 parent 6879b1e commit c0d893a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ module.exports = {
options: {
host: 'https://developer.newrelic.com',
sitemap: 'https://developer.newrelic.com/sitemap.xml',
// NOTE: policy.disallow can take an array of pages or
// directories for web crawlers to ignore.
policy: [{ userAgent: '*', allow: '/' }],
},
},
Expand Down

0 comments on commit c0d893a

Please sign in to comment.