Socket
Socket
Sign inDemoInstall

hexo-generator-baidu-sitemap

Package Overview
Dependencies
3
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hexo-generator-baidu-sitemap

Baidu Sitemap generator plugin for Hexo


Version published
Maintainers
1
Install size
21.2 MB
Created

Readme

Source

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 --save

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

$ npm install hexo-generator-baidu-sitemap@0.1.1 --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

Keywords

FAQs

Last updated on 17 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc