Learn more about Israeli war crimes in Gaza, funded by the USA, Germany, the UK and others.

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'

Run:

bundle install

Add to your _config.yml:

gems:
  - jekyll-feed

Add to your HTML template:

<!doctype html>
<html lang="en">
  <head>
    <link rel="alternate" type="application/rss+xml" href="https://jameshfisher.com/feed.xml" />
    <!-- ... -->
  </head>
  <body>
    <!-- ... -->
    <a href="https://jameshfisher.com/feed.xml">RSS feed.</a>
    <!-- ... -->
  </body>
</html>
Tagged .

Similar posts

More by Jim

Want to build a fantastic product using LLMs? I work at Granola where we're building the future IDE for knowledge work. Come and work with us! Read more or get in touch!

This page copyright James Fisher 2017. Content is not associated with my employer. Found an error? Edit this page.