Add rendering templates

https://gist.github.com/kszeluk/0430b8db509a02c85f00