Atom

In advance of actually deploying my site to the web, I got Atom feeds set up today for my Blog, Commonplace, Journal, and Log. I wanted to avoid using the jekyll-feed plugin, since I don’t want to have the default unified feed, but rather only these four specific category-based feeds. Given the nature of the posts in each (and especially given the volume of posts in the Commonplace category), a unified feed doesn’t make sense.

So, I returned to Jonathan McGlone’s guide to get his atom.xml template. I updated the {% for %} loop to {% for post in site.categories.blog %} so that Jekyll will only build feeds for categories, and changed the layout variable to layout: null to remedy a build warning about the feed layout that doesn’t effect sites built with GitHub pages, but does effect sites built locally, like mine.

I then created four distinct atom.xml files: Blog, Commonplace, Journal, and Log. Now, visitors should be able to choose which of these feeds to subscribe to at will.


Previous Update Next Update

« Codeberg Glitch Site Live »