I had written this a while ago, but only got around to publishing
it now. Incidentally, there's a bit of time-travel because I've
set the date to when I originally wrote it but the screenshots,
if you look at the date, are from images drawn quite a bit later.
Anyway, I'll leave it out there and see if anyone notices ;)
This can now be done by putting code-only posts in a "clog" folder
instead of the customary "blog". To implement this, the code
checks the path of every file and matches the beginning with the
string "posts/clog/".
Other posts can be moved to a "blog" folder or kept outside as-is;
it doesn't make a difference because everything that is not in
"posts/clog/" is filed into the ordinary blog as a default.
The posts had to be mildly modified to work here:
- Field names were changed to lowercase in the metadata
- Times were set to 00:00, because Haunt's parser required times
and I had no clue what the actual times were supposed to be
- The Markdown poem had to be changed from using <del/> tags to
~strikethrough with a tilde~, because raw HTML blocks aren't
supported by the default guile-commonmark parser. Strikethrough
with tilde's isn't either, but I ended up creating my own fork
which [does have the option](https://git.disroot.org/badrihippo/guile-strickenmark).
- The "Category" field had to be remove because the parsen was
complaining about it :(
You can see the source for the original posts, if GitHub is
still around by the time you read this (or you have access to
their Arctic Vault or evil LLM memory or whatever) at the repo:
https://github.com/badrihippo/badrihippo.github.io