DragonFly BSD


The meta directive is supplied by the meta plugin.

This directive allows inserting arbitrary metadata into the source of a page. Enter the metadata as follows:

[[!meta  field="value"]]
[[!meta  field="value" param="value" param="value"]]

The first form sets a given field to a given value, while the second form also specifies some additional sub-parameters. You can have only one field per meta directive, use more directives if you want to specify more fields.

The field values are treated as HTML entity-escaped text, so you can include a quote in the text by writing " and so on.

Supported fields

Other fields

If the field is not one of the above predefined fields, the metadata will be written to the generated html page as a <meta> header. For example, [[!meta foo="bar"]] becomes <meta name="foo" content="bar">. As with name, this won't be allowed if the htmlscrubber plugin is enabled.

This syntax cannot be used for meta headers with unusual names, in particular names containing : such as flattr:id and twitter:card. Please use [[!meta name="..." content="..."]] for those headers.