<article {{post_class('teaser-decors')}}>
  @if (has_post_thumbnail(get_the_ID()))
    <figure>
      <a href="{{ get_permalink(get_the_ID()) }}" title="{!! get_the_title(get_the_ID()) !!}">
        <img
          class="lazy"
          src="{!! get_the_post_thumbnail_url(get_the_ID(), 'mini') !!}"
          data-src="{!! get_the_post_thumbnail_url(get_the_ID(), 'large') !!}"
        />
      </a>
    </figure>
  @endif
  
  <header>
    <a href="{{ get_permalink(get_the_ID()) }}" title="{!! get_the_title(get_the_ID()) !!}">
      <h2>
        {!! get_the_title(get_the_ID()) !!}
      </h2>
    </a>
  </header>
</article>
