🇨🇦
hexo-theme-redefine
BlogGithub
English
English
  • Project Description
  • Get Started
    • Installation
    • Update
    • Usage
  • Configuration
    • Create a theme config file
    • base_info
    • style
      • primary_color
      • avatar
      • favicon
      • article_img_align
      • left_side_width
      • content_max_width
      • nav_color
      • hover
      • first_screen
      • scroll
    • social_contact
    • menu
    • home_article
    • post
      • word_count
      • author_label
    • toc
    • copyright_info
    • website_count
    • local_search
    • comment
      • use
      • Waline
      • Gitalk
      • Twikoo
    • rss
    • lazyload
    • cdn
    • pjax
    • footer
  • Advanced
    • Create a page
    • Note modules
    • Article top
    • Mathematical formula
    • Friendship style
    • file comparison
    • Resource compression
Powered by GitBook
On this page
  1. Configuration

rss

PreviousTwikooNextlazyload

Last updated 2 years ago

rss:
  enable: false

This configuration item is used to enable the RSS subscription function.

Start the process:

  1. Install the plugin hexo-generator-feed in the root directory of the Hexo project.

    $ npm install hexo-generator-feed
  2. Add the following configuration items at the bottom of the Hexo configuration file _config.redefine.yml.

    # Feed Atom
    # npm install hexo-generator-feed
    feed:
      type: atom
      path: atom.xml
      limit: 20
  3. Enable RSS in the Redefine theme configuration file _config.redefine.yml.

    rss:
      enable: true
  4. After the RSS subscription function is enabled, the RSS button will be displayed in the lower right corner tool button group.

    Screen Shot 2022-10-02 at 10.28.49 AM