Add an RSS feed to a Jekyll blog

An RSS or Atom feed gives people a way to follow a blog without relying on social media or email. On a Jekyll site, the jekyll-feed plugin does most of the work.

Add the gem to your site’s Gemfile:

gem 'jekyll-feed'

Then enable it in _config.yml:

plugins:
  - jekyll-feed

If you use Jekyll earlier than 3.5.0, use the gems key instead of plugins.

After the next build, the plugin generates an Atom feed at /feed.xml. Open that URL on your local site to make sure it contains your posts before publishing.

That is enough for the feed itself. You may also want to link to /feed.xml somewhere visible so readers can actually find it.