Post #1763886
2026-04-29 03:43 UTC
Replies (1)
-
@jeang3nie@social.linux.pizza 2026-04-29 04:02
So my unfinished new ssg, called Riddermark, is well underway. It's going to be almost comically basic. Templates and css get compiled into the binary, because I'm writing this for myself and not worried about whether it's useful for anyone else's use case. Speaking of templates, there's no template engine. The templates are simply html with a few strings that get replaced by the rendered Markdown and Latex. There's also no built in development server. I'm using Busybox's built in http server for development. I figure I'll eventually cobble together a Makefile that starts up 'busybox httpd' and rebuild the site on change. Adding that functionality to the ssg is kind of non-Unix-ey anyway. What it does do really well already is render html and mathml from any combination of html, markdown, and LaTex equations that you throw at it. Code blocks get syntax highlighted. The built in theme has a simple nav bar at the top, centers the content and sets a max width, and has Gruvbox derived colors. Since that's most of what I wanted it to do I almost just cobbled something together using Pandoc, templates and Makefiles. But I also want it to generate an atom/rss feed. No word on when it'll be ready. I'm not really coding much this week since I'm off school and work, and when both of those start back up I'll be busy. But it has been kind of fun, and it's given me an excuse to write some Rust again, this time with a little more restraint and maturity. It gave me an excuse to try out some ideas that have been kicking around in my head for a while, at least in part. And it's fun exploring just how minimal I can make it and have it still be a useful tool.