Hexo博客配置RSS插件
2019-07-23 本文已影响4人
試毅_思伟
Tips:前导必备
- 博主博客地址
- 博主使用的是hexo-theme-yilia-plus主题
1、安装rss插件
在站点根目录下安装
npm install hexo-generator-feed
2、配置_config.yml
文件,启用插件
# Extensions
plugins:
hexo-generator-feed
#Feed Atom
feed:
type: atom
path: atom.xml
limit: 20
3、在hexo-theme-yilia-plus主题添加RSS订阅配置(可以跳过此步骤)
theme-yilia-plus
# RSS订阅
rss: /atom.xml
4、生成RSS订阅文件
hexo g
![](https://img.haomeiwen.com/i2743275/b19c2b7b98555d4d.png)