Hexo博客配置RSS插件

作者: 試毅_思伟 | 来源:发表于2019-07-23 15:49 被阅读4次
Tips:前导必备

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

相关文章

网友评论

    本文标题:Hexo博客配置RSS插件

    本文链接:https://www.haomeiwen.com/subject/pwqalctx.html