Create teaser display for License terms

This commit is contained in:
Clayton Dewey 2019-01-19 15:17:08 -07:00
parent 3fa7e23d66
commit 3325e40d54

View file

@ -0,0 +1,26 @@
{#
/**
* @file
* Override of default theme implementation to display a one-column layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
{%
set classes = [
'layout',
'layout--onecol',
]
%}
{% if content %}
<div{{ attributes.addClass(classes) }}>
<div {{ region_attributes.content.addClass('layout__region', 'layout__region--content', 'license') }}>
{{ content.field_license_icon }}
<em>{{ content.description}}</em>
</div>
</div>
{% endif %}