fix frontend git subtree
fix templates for jinja and spacing