Adding an RSS feed to your hexo blog is child’s play. Thanks to the hexo-generator-feed plugin.
1) Installation
npm install hexo-generator-feed --save
2) Configuration
Open your hexo configuration file: _config.yml
and in the plugin section (just below your theme setting), add the following configuration
feed: |
type
: You can choose between Atom and RSS2path
: the path to the rss feedlimit
: the maximum number of posts to show
Pretty simple isn’t it ?
If you want to learn more about RSS feeds, check this comparison between Atom and RSS2