< Notes...

there really are no uninteresting things...
24 May 2025 @ 16:02:48

I have been tyring to automate the setting of lastmod on Hugo to no avail. I want to capture in a note the last modified timestamp from git, as these notes reside in git repository, and use it within a note. No dice, so far.

Got it to work! It is not using the git timestamp, because it doesn’t really acccurately provide the modification time, but the commit time (two different things). Instead, I am setting the timestamp when the note is opened for edit.

Update: 19 Feb 2026 @ 12:54:44

Nah, I ended up scrapping the above, too much work, and for what? I am using the commit timestamp, and that’s that.

hugo staticgen
< Older Newer >