Add general layout for custom pages