added sub templates for menu and footer