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>
    <!-- ... -->

I wrote this because I felt like it. This post is not associated with my employer.