Quick article to see how you can (and you should) add a google sitemap to your hexo blog.

There is a plugin for it that will do all the hard work for you.

Go ahead and install hexo-generator-sitemap with:

1
npm install hexo-generator-sitemap --save



Then add the path to your sitemap.xml in the _config.yml:

1
2
3
# Sitemap
sitemap:
path: sitemap.xml

Regenerate your blog and check that a sitemap.xml file has been created at the root of your blog.