Im trying to get this lines at the beginning of the document
<!doctype html public "✰">
<!--[if lt IE 7]> <html lang="en-us" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en-us" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en-us" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en-us" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
....
coming from the html5boilerplate.
How can I do this with typoscript?
I had tried
config.doctype = html_5
and this works alright to use the clean meta char, but I cant add the conditionals
on the other hand there is this option: http://typo3.toaster-schwerin.de/typo3_english/2011_03/msg00014.html but then I lose the "clean" charset and have the longer and uglier one.
I know that it doesnt really make a difference, but i would like if I could have the short version of the meta charset tag.
Is there a way to have it all?
Take a look at the extension html5boilerplate (EXT:html5boilerplate in TER).
It supports the conditional comments which are also configurable via an option in the TypoScript setup