back

by anderspitman·8y ago·view on hn ↗
As a few others have mentioned, I highly recommend writing your own static site generator, unless you know the specific reasons you need something more advanced. It's a fun exercise and was a great learning process for me.

Here's my personal hacky take[0]

You can get pretty far by simply supporting Mustache templates[1], Markdown parsing (even that isn't necessary, though I did it since my old posts were already in Markdown), and a metadata format (ie frontmatter, or something similar. I went with toml files sitting next to my content).

[0] https://github.com/anderspitman/assg

[1] https://mustache.github.io/