added page and post templates