{#
/**
 * @file
 * Template for field_title on a Callout Paragraph.
 */
#}
{% set tag = element['#object'].field_title.getValue ? 'h3' : 'h2' %}

{%- for item in items -%}
  <{{tag}} class="callout__title">{{- item.content -}}</{{tag}}>
{%- endfor -%}
