Posts are all written as markdown, styling and layout are centralised with layout HTML pages and CSS.
I believe indexes can be auto-updated via post metadata.
And it's all static pages once generated, so there's no dynamic load on a database.
Another option is PHP, which was practically made for the purpose of generating HTML. You can run it on your pages to generate static versions, and just use "include" directives with that.
If all you need is include functionality, then that's the way to go for static file hosting.
No Markdown, no Perl/Python/Ruby, also no binary program, just a few simple shell scripts and plain HTML files.
[1] https://github.com/commonmark/cmark
[2] https://github.com/tiehuis/tiehuis.github.io/blob/38b0fd58a2...