Add robots
Since we went ahead and added a sitemap, we may also want to have a robot.txt file siting in production as well showing where the sitemap is located.
Install gatsby-plugin-robots-txt
yarn add gatsby-plugin-robots-txt
Update gatsby config.js
module.exports = {
plugins: ['gatsby-plugin-robots-txt']
}
Sources
Next: Add comments
Previous: Add sitemap
...