<article {!! post_class('single-post single') !!}>
  <div class="container">
    @include('partials/page-header', ['is_single' => true])
    <div class="post-content-wrapper">
      @php the_content() @endphp
    </div>
  </div>
  <div class="related">
    <h3>{!! __('Related news', 'thor') !!}</h3>
      @php
        $args = [
          'numberposts' => 3,
          'category' => get_the_category()[0]->term_id,
          'exclude' => array(get_the_ID()),
        ];
        $posts = get_posts($args);
      @endphp
    @php
      global $post;
      @endphp
    <div class="container mx-auto">
      <div class="grid-list three">
        @foreach($posts as $key => $post)
        <div class="w-full">
          @include('partials.teaser-'.get_post_type(), ['show_date' => true])
        </div>
        @endforeach
      </div>
    </div>
  </div>
</article>
