typoscript - TYPO3: lang attribute changed in html tag (HTML5boilerplate style) -
I use this configuration to comply with HTML5 billetplates.
config {doctype = html_5 doctype (& lt ;; doctype html & gt; & lt ;! - [if lt IE7] & gt; & lt; html lang = "de" class = "No-jsi 6"> gt; & gt; [andif] - & gt; & lt;! [If IE 7]> gt; & lt; html lang = "de" class = "no-js ie7" & Gt; & lt ;! [Endif] - & gt; & lt ;! - [If IE 8] gt; & lt; html lang = "de" class = "no-js ie8" & gt; & lt; ! [Endif] ->
- [If IE 9]> [endif] -> gt; & lt; ;; - [if (gt IE 9) |! (IE)]> gt>
P>
Post-text "itemprop =" text "> Uchi To set config.htmlTag_setParams , use the normal TS status, which you are probably using for the language sticking ... [globalVar = GP: L = 1] config.sys_language_uid = 1 config.language = en config.htmlTag_setParams = lang = "en" class = "no-js no-ie" & gt; & Lt ;! - & lt ;! [Endif] - [global]
Comments
Post a Comment