HomeThe ClassicsFarai's Codelab

changelog.html

Published:

Lets you track changes within a post by specifying a changelog list in a post’s front matter where each item has a date and a note as markdown. You can also add an optional showChanges field if you want the changelog to be expanded. Here’s some sample front matter.

---
...
showChanges: true
changelog:
    - date: 2023-10-20T10:17:13+02:00
      note: No change here, just an *illustrative example*.
---

This is then rendered onto single.html templates as well as an RSS feed. There’s also an exposed .Params.changelog variable do do whatever.

Source Code

Notes

Very tangential, but it’s funny how VS Code uses a clock icon for this file called changelog.md

a clock icon next to the words <code>changelog.md</code> in green