How to set title OR subtitle in title tag in typo3 + typoscript
config.noPageTitle = 2 page.headerData.5 = TEXT page.headerData.5.field = subtitle // title page.headerData.5.wrap = <title>|</title>
OR you can use below typoscript
config.noPageTitle = 1 page = PAGE page { headerData.10 = TEXT headerData.10 { field = subtitle ifEmpty { field = title required = 1 } noTrimWrap = |<title>| </title>| } }
How to set title and subtitle together in title tag in typo3 + typoscript
config.noPageTitle = 1 page.headerData.5 = COA page.headerData.5 { 20 = HTML 20.value.field = title 30 = HTML 30.value.field = subtitle 30.value.stdWrap.noTrimWrap = | : || stdWrap.noTrimWrap = | <title>|</title>| }
If you have any query then feel free to contact me at Jainish Senjaliya