I need to set a variable depending on the applicationContext, and this works in TYPO3 v10.4:
[applicationContext == "Development/Testing"]
page.footerData.50.value = 3
[applicationContext == "Production/Staging"]
page.footerData.50.value = 3
[applicationContext matches "/^Development/"]
page.footerData.50.value = 4
[end]
I am not using [end]
after each [applicationContext]
, which is not documented as being possible.
So I wonder if my TS is syntactically correct, or if it just accidentally works