Same here I also made two of the static site generators both are featured on staticgen.
Python based : my_py_site
C++ based: sudo_site
my_py_site is capable of doing more then rendering templates, it is able to generate multiple blogs without configuration and it also parses and separates the YML front matter and the Markdown content converted to HTML. You can access that YML front matter anywhere in the templates and moreover the Meta data of pages and posts is also accessible in the templates.
You can use different layouts for any post or page as well. Just specify layout in YML front matter.
All is done under 100 lines of code
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.