Adding an RSS feed to a Jekyll blog

I’ve added an RSS feed to this blog. Here’s what I did. Add to your Gemfile:

gem 'jekyll-feed'


bundle install

Add to your _config.yml:

  - jekyll-feed

Add to your HTML template:

<!doctype html>
<html lang="en">
    <link rel="alternate" type="application/rss+xml" href="" />
    <!-- ... -->
    <!-- ... -->
    <a href="">RSS feed.</a>
    <!-- ... -->

More by Jim

Tagged . All content copyright James Fisher 2017. This post is not associated with my employer. Found an error? Edit this page.