added support for jade template

Fixes #8