ViewHelper: Page.meta
TYPO3
Show in appBeschreibung
The <f:page.meta> ViewHelper, introduced in TYPO3 14.0, allows integrators to set HTML meta tags directly within Fluid templates. It integrates with TYPO3's MetaTagManager API, which means meta tags defined in templates respect the same priorities and rendering rules as those set via TypoScript or PHP. This removes the need for custom PHP logic or TypoScript configuration in many common scenarios.
Ziele
- I know how to use the property argument to set standard meta tags such as description as well as OpenGraph properties such as og:title and og:type.
- I know how to use the subProperties argument to add additional attributes to complex meta tags, for example width, height, and alt for og:image.
- I know how to use the type argument to explicitly specify the meta tag type (name, property, or http-equiv) when the default behaviour of the MetaTagManager is not sufficient.
- I know how to use the replace argument to override an existing meta tag that has already been set with the same property.
- I know that <f:page.meta> can be used in any Fluid template context, including Extbase plugin templates, Fluid-based content elements, Fluid components and site package templates.
Maintainer
Oliver Thiele
Web Development Oliver Thiele