writing custom vesta template