created templates for pages