šŸŒæ Budding changelog

Addition of Git Log

planted on in: Blogging and 11ty.
~146 words, about a 1 min read.

With a huge thank-you to Belmin Began(@MaNemoj01) for their PR implementing git history for pages this website now has a git history on each writing page. It's been a few months since I last checked the repo for this website and had this week begun working on refactoring the repositories directory structure when I noticed Belmin's PR.

Belmin's code worked well and did the job however once I had merged their PR into my branch I realised that the git history added about 100ms to each page's build time. With 800+ pages that soon adds up and while it doesn't necessarily matter during deployment you really notice when developing locally. I therefore added a cache which is keyed by the current git commit hash, that way the history is parsed once each time I make a commit. I find this an acceptable middle-ground.

Page History

This page was first added to the repository on December 13, 2023 in commit 45eb6527 and has since been amended once. View the source on GitHub.

  1. feat(#306): move changelog posts to /changelog/* permalink
  2. publish: Addition of Git Log, with thanks to Belmin Began