Revert "switched to mako"

This reverts commit 0071e7d2d1f0cc5a3f6c0a9aef81a4932ed70f41.