OCaml Static Site Generator

Just a small Ocaml project that walks a folder of Markdown files and spits out a static site.

View on GitHub

It parses YAML frontmatter, converts Markdown to HTML via cmarkit, and generates type-safe HTML using tyxml which means if you mess up the structure of a page, it won't compile.

It also generates an RSS feed, handles blog posts, projects entries, and an art section, and copies static assets into the output directory. The whole thing is a few hundred lines of OCaml across four files.