Skip to content

2017gw/hexo-generator-baidu-sitemap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitemap generator

Generate sitemap.

使用站图的初衷是为自己的博客添加站内搜索,如果想更好的发挥站图的作用,建议手动提交baidusitemap给百度.

目前baidu无法扒取github的数据了,托管在github的朋友们会碰到抓取失败的问题,可以试试更改到gitcafe上等等,怎么说呢,我只能说百度太2了

Install

if your hexo version is 2.x.x, you should install as follow:

$ npm install [email protected] --save

if version is 3.x.x, you should install as follow:

$ npm install [email protected] --save

Update.

$ npm remove hexo-generator-baidu-sitemap
$ npm install hexo-generator-baidu-sitemap --save

Options

if your hexo version is 2.x.x, you can configure this plugin in _config.yml.

baidusitemap:
    path: baidusitemap.xml

if 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 install

About

Baidu Sitemap generator plugin for Hexo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 52.2%
  • JavaScript 47.8%