Static site generator (SSG) using handlebars and pulldown-cmark, written in Rust.
sh
cargo install tempura
Run tempura init my_project
.
The following directories and files will be created.
my_project
├─public
└─src
├─pages
│ │ sample.md
│ │
│ └─sub_dir
│ sample2.md
│
└─templates
page.html.hbs
Edit template files and markdown files as you like.
See also Handlebars Lanugage Guide and CommonMark Specification. It is possible to write front matter, which is out of CommonMark specification.
Run cd my_project && tempura build
.
HTML files are generated in my_project/public/
directory.
Copy contents of my_project/public/
to your server.