Attention
TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is strongly recommended updating your project.
meta¶
Properties¶
Property |
Data Type |
Default |
|
---|---|---|---|
string /stdWrap |
Property details¶
(array of key names)¶
Property
(array of key names)
Data type
string /stdWrap
Description
Allows you to define meta tags.
Use the scheme meta.key = value.
The "key" can be the name of any meta tag, e.g. "description" or "keywords". If the key is "refresh" (case insensitive), then the "http-equiv" attribute is used in the meta tag instead of the "name" attribute.
"value" is the content of the meta tag. If the value is empty (after trimming), the meta tag is not generated.
Examples:
meta.description = This is the description of the content in this document.
meta.keywords = These are the keywords.
meta.refresh = [seconds]; [URL, leave blank for same page]
For each key the following sub-property is available:
httpEquivalent: (Since TYPO3 4.7) If set to 1, the http-equiv attribute is used in the meta tag instead of the "name" attribute. Default: 0.
Example:
meta.X-UA-Compatible = IE=edge
meta.X-UA-Compatible.httpEquivalent = 1
This results in <meta http-equiv="X-UA-Compatible" content="IE=edge">.