Fix more jinja->django issues

* made |md calls safe
* fix static call