0.1.6 • Published 6 years ago
hexo-generator-baidu-sitemap-ny1 v0.1.6
Sitemap generator
Generate sitemap.
使用站图的初衷是为自己的博客添加站内搜索,如果想更好的发挥站图的作用,建议手动提交baidusitemap给百度.
Install
if your hexo version is 2.x.x, you should install as follow:
$ npm install hexo-generator-baidu-sitemap@0.0.8 --saveif version is 3.x.x, you should install as follow:
$ npm install hexo-generator-baidu-sitemap@0.1.4 --saveUpdate.
$ npm remove hexo-generator-baidu-sitemap
$ npm install hexo-generator-baidu-sitemap --saveOptions
if your hexo version is 2.x.x, you can configure this plugin in _config.yml.
baidusitemap:
path: baidusitemap.xmlif version is 3.x.x, you should configure this plugin in _config.yml.
baidusitemap:
path: baidusitemap.xml- path - Sitemap path. (Default: baidusitemap.xml)
##Errors
Maybe response is "hexo is not definded",then you should:
$ cd node_modules/hexo-generator-baidu-sitemap/
$ npm install0.1.6
6 years ago