Use template in homepage