Eighty/Twenty

.plan for Gordon Weakliem

View on GitHub
11 January 2025

Archives, again

by Gordon Weakliem

https://github.com/github/pages-gem/pull/106

Aneejian posted a solution but I didn’t like this - it involves adding a page to generate archive links, then building a docker container and running a python script from GitHub actions. It adds a lot of build overhead and then I wasn’t sure how customizable it was. jekyll-archives does exactly what I want out of the box.

This defunct site describes an approach with similar problems - you generate the archive offline and upload it. It’s possible since I edit locally and I could add a step to run jekyll before committing, but I was hoping for something a bit more automatic for me.

This is the solution that I ultimately copied. It dynamically generates the archives, it probably won’t scale that well over many blog posts but it’ll do for a while. I also think that I could extend it using the techniques shown at Stuntbox, but that’s enough messing with jekyll for the weekend.

tags: []
permalink

navigation
How I Program With LLMs - Jekyll Archives and GitHub Pages