switch templates over to jade