Add custom blog Rss Subscribe

RSS is an easy way to subscribe to and other sites to share content between sites used that Really Simple Syndication (RSS), if you do not use, you can see Baidu Encyclopedia: https://baike.baidu.com/item / RSS% E8% AE% A2% 98% 85% E9 / 663 114 ; first we install feed plug-in hexo local directory, right git bash here, enter the following command:

$ npm install hexo-generator-feed

Wait until the installation is complete, open _config.yml under hexo directory configuration file, add the following configuration at the end:

# Extensions
## Plugins: http://hexo.io/plugins/
#RSS订阅
plugin:
- hexo-generator-feed
#Feed Atom
feed:
type: atom
path: atom.xml
limit: 20

Then open the theme configuration file _config.yml, add the following configuration:

rss: /atom.xml

So far, RSS subscription feature addition is complete

Reprinted: https: //www.itrhx.com/2018/08/27/A04-Hexo-blog-topic-personalization/

Personal blog
Tencent cloud community
Nuggets
Jane book
blog Park
GitHub
code cloud
Segmentfault
public number:wx.jpg

Published 19 original articles · won praise 1 · views 429

Guess you like

Origin blog.csdn.net/Devilli0310/article/details/103601813