Page.meta ViewHelper <f:page.meta> 

ViewHelper to set meta tags from Fluid templates.

   <f:page.meta property="description">My page description</f:page.meta>
   <f:page.meta property="og:title">My article title</f:page.meta>
   <f:page.meta property="og:image" subProperties="{width: 1200, height: 630}">/path/to/image.jpg</f:page.meta>
Copied!

Go to the source code of this ViewHelper: Page\MetaViewHelper.php (GitHub).

Arguments

The following arguments are available for the page.meta ViewHelper:

property

property
Type
string
Required
1
The meta property name (e.g. "description", "og:title")

replace

replace
Type
bool
Default
false
Replace existing meta tags with the same property

subProperties

subProperties
Type
array
Default
array ( )
Array of sub-properties for complex meta tags (e.g. og:image width/height)

type

type
Type
string
The meta type attribute (name, property, http-equiv). If not set, the appropriate manager will determine the type.