Into
Nothing to say…
Install two plugins
- hexo-generator-baidu-sitemap
- hexo-baidu-url-submit
hexo-generator-baidu-sitemap
- Installation
1 | npm install hexo-generator-baidu-sitemap --save |
- Setup
In you _config.yml
add:
1 | baidusitemap: |
- Use
It’s will create a file named baidusitemap.xml
automaticlly when you deploy your to GitHub
hexo-baidu-url-submit
- Installation
1 | npm install hexo-baidu-url-submit --save |
- Setup
In you _config.yml
add:
1 | baidu_url_submit: |
and add - type: baidu_url_submitter
to your config.yml:
1 | deploy: |
principle
- Create baidu_urls.txt and filled last 3 ursl in it when
hexo denerate
. - Submiting your 3 new urls to baidu when
hexo deploy
, also it will submit to Git whilc is your another source in_config.yml
- Create baidu_urls.txt and filled last 3 ursl in it when