<article {{post_class('teaser-post')}}>
  <a href="{{ get_permalink() }}" title="{!! get_the_title() !!}">
    <figure>
        <img
          class="lazy"
          src="{!! get_the_post_thumbnail_url(get_the_ID(), 'mini') !!}"
          data-src="{!! get_the_post_thumbnail_url(get_the_ID(), 'large') !!}"
        />
      </figure>
    </a>

  
  
  <header>
    @if($show_date)
      <div class="time"
          datetime="{{ get_post_time('c', true) }}">
        {{ get_the_date('d.m.Y') }}
      </div>
    @endif
    <a href="{{ get_permalink() }}" title="{!! get_the_title() !!}">
      <h2>
        {!! get_the_title() !!}
      </h2>
    </a>
  </header>
</article>
