Processing duplicate menu, header, footer