-
easily hook any other command's stdout and put it into your blog.
i.e. {% snippet cal %} gives a simple calendar -
less dependency: all are covered by coreutil
-
experiment with your mac/linux
-
only re-bake if required
baker.sh
post [title] create new post
page [title] create new post
bake [--force] ship static page
- ./baker.sh post I like the baker's bread
- baker will turn that into a markdown file in posts/, so you can use your editor. vim it.
- ./baker bake
- profit!
dry
and simple.- all html escapes by default. use
{{{ }}}
to skip html escaping
# if: {% if var %} ... {% endif %}
# foreach: {% foreach var %} ... {% endforeach %}
# include: {% include name%}
# escape_var: {{ name }}
# var: {{{ name }}}
## snippet: {% snippet name %}
beautiful and maintainable implementation in bash
please:
- improve code simplicity and performance
- share useful snippet
- improve bake chain
- refactor, refactor
snippets are dangerous.
taylorchu, gpl2 licensed