added template and templates pages