New custom layout for main pages