Jinja 2 with inline template solution contribs to #105 and #124