Extending the HTML head tag

If you want to extend the head section of an HTML page with additional tags (e.g. meta data) dynamically, you can do this by using the following snippet in your TypoScript template.

TypoScript: Adding a meta tag to the HTML header

SETUP
page = PAGE
page {
  headerData {
    10 = TEXT
    10.value = <meta name="best-cms" content="TYPO3, of course."/>
  }
}

In the example above, an additional meta tag is inserted into the head section. Various other entries (like CSS links or geo tags) are valid.

Comments for Extending the HTML head tag

Be the first to comment this article!


Add a comment


(will not be displayed, Gravatar is enabled)



(Fields marked with a * are mandatory)

Visitors found this page by searching for these keywords:

typo3 head tag · typo3 headtag · typo3 header meta · typo3 html tag additional · typoscript header title