Leaf Docs

Start here. Leaf is a tiny static site generator written in Donna.

Leaf builds static sites from plain files:

  • Markdown content in content/
  • TOML front matter at the top of each page
  • Mustache templates in your theme
  • Static files and assets copied into the final site

That is the shape of the tool. No hidden database. No runtime server. No dramatic ceremony.

code
leaf init website
cd website
leaf serve --watch

When you are ready to ship:

code
leaf build

The generated HTML lands in public/, unless you choose a different output_dir in config.toml.