<article class="col-md-6 col-lg-4 news-block news-block_centered">
    <div class="news-block__info">
        <div class="date news-block__date"><?php echo date('d.m.Y',strtotime($post->created_at)); ?></div>
        <p class="news-block__counter"><span class="counter-icon"></span><?php echo $post->views; ?></p>
    </div>
    <div class="news-block__img-wrapper">
        <a href="<?php echo e(route('media.view-post',['slug' => $post->slug])); ?>" class="news-block__img-link">
            <img src="/storage/<?php echo $post->image; ?>" alt="<?php echo e($post->title); ?>"
                 class="img-responsive center-block news-block__img news-block__img_centered">
        </a>
    </div>
    <a href="<?php echo e(route('media.view-post',['slug' => $post->slug])); ?>"
       class="date news-block__heading"><?php echo e($post->title); ?></a>
    <p class="news-block__introtext"><?php echo e(str_limit($post->excerpt, 160)); ?></p>
</article>