具体效果可以参考如下
RSS订阅

教程

  1. 安装插件,在博客根目录[Blogroot]下打开终端,运行以下指令:

    1
    npm install --save hexo-generator-feed
  2. 添加配置信息,以下为写法示例
    在站点配置文件_config.yml中添加

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    # Extensions
    ## Plugins: http://hexo.io/plugins/
    #RSS订阅
    plugin:
    - hexo-generator-feed
    #Feed Atom
    feed:
    type: atom
    path: atom.xml
    limit: 20
  3. 选择在导航栏添加或者个人信息栏添加

    _config.butterfly.yml文件中添加

    1
    2
    3
    4
    5
    # social settings (社交图标设置)
    # formal:
    # icon: link || the description
    social:
    + fas fa-rss: /atom.xml || RSS

    1
    2
    3
    4
    5
    6
    7
    # Main menu navigation (导航目录)
    # see https://butterfly.js.org/posts/4aa8abbe/#导航菜单
    # --------------------------------------

    menu:
    主页: / || fas fa-home
    RSS: /atom.xml || fas fa-rss
  4. 最后hexo三连就可以看到效果啦!!!