Skip to main content

Metadata

Provides a simple way to mark up key/value information provided by a Twig hash or JSON object.

Basic usage

{{
html.metadata({
'items': {
'File': 'true_lies.avi',
'Size': '1.2 Gb',
'Type': 'Video'
}
})
}}

Helper options

You can configure this helper using the common helper options, the following options are specific to this helper.

OptionTypeDescription
itemshashA hash of items formatted as { 'key': 'value' }, both will be displayed