
28 May 2024
I used the original post as an initial test-run to start off my development. I also created a couple of test pages that included images. They're part of the repo, but not part of the actual blog.
It turns out writing this kind of thing is not as simple as it first seemed - which is the story of pretty much every project I attempt. Dealing with the local paths (input and output) as well as the link paths was tricky. I had to make sure pages and images work on the finished site, whilst the compiler also didn't have to be run from within a particular working directory relative to the site.
The current usage is python3 main.py path/to/site/root which is not very user-friendly, but as it'll almost certainly be just me using it, I don't really care.
Anyhow. Now I'm off to read up how to bulk-upload to a free hosting service to get this live whilst I work on the server rack to home-host and the myriad other projects I've got on the go...