:@2023.07.04:tykozic-net:
Site’s back. Some old posts will come back over time, and some won’t.
While I was away, I took the opportunity to work on some backend infrastructure. This site shifts and changes a little too often. Sometimes, that’s because I’m curious about a different technology I can use to convert files and organize the site on my end. There should be fewer of that type of change now.
Here’s some context. The data you get when you visit has to be HTML, which looks like this:
<html>
<body>
<p>Hey! Check out my <em>awesome</em> new post:
<a href="/posts/new-post.html">click here!</a>
</p>
</body>
</html>
I’m rarely in the mood to write that by hand. Instead, I can write it in a format called Markdown:
Hey! Check out my *awesome* new post:[click here!](/posts/new-post.html)
I write a bunch of Markdown files, then use a “static site generator” to produce the HTML from there. But sometimes I like to write in gemtext, which is so simple it doesn’t support italics:
Hey! Check out my awesome new post:
=> /posts/new-post.html click here!
This page was written in gemtext. I love simple formats like this, but static site generators usually only accept Markdown. I can’t try new ones while still writing for the site. In general, they impose too many restrictions for me to be comfortable with them for long periods of time.
I’ve designed a site generation flow of my own that should resolve some of this. It allows me to specify a file conversion process (Markdown to HTML, etc.) for each post individually, while still taking a lot of work off my hands. If you want details, check it out:
https://codeberg.org/tykozic/dirmake
I’ll see you soon. Ty