mblog is a micro blog static site generator written with Go.
./mblog --tmpl <templates dir> --in <input dir> --out <output dir>
mblog converts markdown posts into html.
mblog expects 3 templates:
- index.tmpl is used to generate the index.html
- post.tmpl is used to generate a post
- page.tmpl is used to generate a page
The index page is the blog's homepage.
You can define optional metadata in your pages.
title: My title
date: 2024-09-01
template: my_template.tmpl