ISTWCMS-4704: restricting header and footer on layout pages to content types that have headers and footers