{# styles/infozone/template/addons/header_teaser_body.html #}

<section class="iz-hero iz-hero--simple" aria-label="Page header">
  <div class="iz-container">
    {% set teaser_title = (TEASER_TITLE|default('')|trim) %}
    {% set teaser_text  = (TEASER_TEXT|default('')|trim) %}
    <h1 class="iz-hero__title">{{ teaser_title != '' ? teaser_title : (SITENAME|default('InfoZone Forum')) }}</h1>
    {% if teaser_text != '' %}
      <p class="iz-hero__text">{{ teaser_text }}</p>
    {% endif %}
  </div>
</section>
