Warning!!! This is currently at "someone's pet project and that someone is some dude with an arch linux laptop with no compsci training and is probably a liberal arts major" phase. If you're any good at all at programming the code within will make you think "some people should not be allowed to install node.js".
- Configure directories in
config.json
{
"source_dir": "drafts",
"template_dir": "templates",
"public_dir": "public"
}
-
Write some markdown in your
source_dir
-
Write a Mustache template in your
template_dir
-
stat-e will bake all files in
source_dir
with template found intemplate_dir
Here are some rules:
template_dir
needs to have at leastindex.mustache
- If there is a more specific template, it will use it:
index.mustache
in same directory takes precendence if your file is in a subdirectory.mustache
bearing exact same file name as your source takes precendence overindex.mustache
Here are some features:
- File name of source file be file name of output file:
test-this-stuff.md
=>test-this.stuff.html