[BUGFIX] Make subheaders aware of possible default header layouts
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / static / setup.txt
index 342ffce..3f02eb9 100644 (file)
@@ -248,9 +248,9 @@ lib.stdheader {
        # HTML5 subheader
        20 = CASE
        20 {
-               key {
-                       field = header_layout
-               }
+               key.field = header_layout
+               key.ifEmpty = {$content.defaultHeaderType}
+               key.ifEmpty.override.data = register: defaultHeaderType
 
                default = TEXT
                default {