Dimmadome's DimmasitePostsProjects

Back to zola

In a few previous posts I tried to make my own site generator to avoid some of the issues I had with Zola.

Safe to say, the design I came up with didn't really work out well, so now I'm back to using Zola. I went through with a bunch of ideas on how to implement it, from using a custom markup format, to using Markdown and parsing processing instructions <? .. ?> as Lua, and then putting the result back into the HTML.

This was neat, but wasn't as nice as Tera templating, so I added that as well. But then there's two templating languages!

There is also etlua, which is a templating language that uses Lua itself. I tried doing this as well, but made the mistake of doing everything twice this way, by having the Markdown generator emit more etlua to template the syntax highlighting and math parts.

This would probably work fine, with all the other things going on, it would mean I'd also have to make the file reading logic from inside Lua itself. And I hadn't even fixed my issues with syntect yet.

Luckily, the people at Zola seem to be working on both my issues, namely, replacing syntect, and adding math rendering.

I now also don't have to make my own search index generator, feed generator, link checker, web server, etc. But I do miss font subsetting, even if my solution for that was rather jank.

Maybe I'll try again in the future, with Tera it wasn't that bad to write something.