Update homePageTemplate to include open body and closing head tags