Split to JINJA - Bug 1770

https://gist.github.com/romankierzkowski/9d14f10174be2f76e987