sample files from a smithsonian project
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{% if label_display == 'visually_hidden' %}
|
||||
<div{{ title_attributes.addClass('visually-hidden') }}>{{ label }}</div>
|
||||
{% endif %}
|
||||
{% if multiple %}
|
||||
<div{{ attributes }}>
|
||||
{% for item in items %}
|
||||
{% include '@components/teaser/teaser--event/_teaser-location.twig' with {
|
||||
drupal_attributes: item.attributes|without('class'),
|
||||
teaser_location: item.content,
|
||||
teaser_location_label: not label_hidden ? label : false,
|
||||
} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
{% for item in items %}
|
||||
{% include '@components/teaser/teaser--event/_teaser-location.twig' with {
|
||||
drupal_attributes: attributes|without('class'),
|
||||
teaser_location: item.content,
|
||||
teaser_location_label: not label_hidden ? label : false,
|
||||
} %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user