GitHub recently rolled out support for automatic ATOM (RSS) feed generation for their GitHub Pages platform. It literally only take seconds to set up and get going!

_config.yml

Add the jekyll-feed gem to the list of installed gems for your Jekyll blog. Make sure you have filled out name, description, and author information too.

name: "Blog Name"
description: "Blog Description"
author:
    name: "Your Name"
    email: "you@email.com"

...

gems:
    - jekyll-feed

Inside the <head> tag, add the {% feed_meta %} tag to automatically add a link to your ATOM feed. This makes you ATOM feed visible to users visiting your blog with a capable feed reader.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="description" content="{{ site.description }}">

    <!-- jekyll-feed link -->
    {% feed_meta %}
  </head>

🐳 Testing Locally

You are running Docker right?! If so, just pull the starefossen/github-pages Docker Image and your blog is up and running locally without having to install a single thing!

$ docker pull starefossen/github-pages
$ docker run --rm -it -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages

ProTip™ Changes reloads automatically as you go when using the Docker Image!

💰 Profit

Commit and push you changes to GitHub and your ATOM feed is up and running in under a minute!


Comments

If you have any questions or other feedback to the article, please post them in the comment section bellow and I promise to read them and respond to you on a regular basis.