2.0.1 • Published 6 years ago
@xiandanin/hexo-generator-baidu-sitemap
Licence
MIT
Version
2.0.1
Deps
3
Size
6 kB
Vulns
0
Weekly
0
hexo-generator-baidu-sitemap
Generate baidu sitemap.
Install
$ npm install @xiandanin/hexo-generator-baidu-sitemap --save
- Hexo 4: 2.x
- Hexo 3: 1.x
- Hexo 2: 0.x
Options
You can configure this plugin in _config.yml.
sitemap:
path: baidusitemap.xml
template: ./sitemap_template.xml
rel: false
- path - Sitemap path. (Default: sitemap.xml)
- template - Custom template path. This file will be used to generate sitemap.xml (See default template)
- rel - Add
rel-sitemapto the site's header. (Default:false)
Excluding Posts
Add baidusitemap: false to the post's front matter.