Fix templates so they work with Jade 1.7.0.