I finally got sick of some outstanding bashblog bugs and decided to rewrite my blog with hugo
Why fix something that ain’t broken?
There are several major bugs in bashblog that I haven’t had the time or interest to fix. Luckily, I have my blog source in a git repo, so the messed-up files are relatively easy to fix up.
My theory is that the cognitive load of dealing with those bugs has been preventing me from writing any new posts… (among other current events).
Plus I guess I just needed a project!
The hard part
It was a bit of a struggle to get my blogposts converted over to a proper format.
bashblog maintains the tags with a plaintext link line at the bottom of the file and keeps track of modify dates on the filesystem using date -r
and touch -t
to keep them up to date.
This makes it hard to work with the blog in any place other than where it’s already deployed live. Additionally, parsing the tags to another format was a bit of a headache…
I ended up writing a little script to pull the timestamp from bashblog’s generated html since I no longer had the original file metadata.
Time to write more
I’m always tempted to play with the publishing process instead of actually writing.
We’ll see how well I can avoid the temptation now!