<?php $__env->startSection('title'); ?> <?php echo e($postData->title); ?> <?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="content page__content">
        <section class="post content__post">
            <div class="post__info">
                <p class="post__date"><?php echo Date::parse($postData->created_at)->format('j F Y'); ?></p>
                <p class="post__counter"><span class="post__counter-icon"></span><?php echo $postData->views; ?></p>
            </div>
            <h3 class="post__heading"><?php echo $postData->title; ?></h3>
            <div class="post__img-wrapper">
                <?php if(!empty($prevSlug)): ?>
                    <a href="<?php echo e(route('media.view-post',['slug' => $prevSlug])); ?>" class="navigation post__navigation post__navigation_left">
                        <p class="navigation__text navigation__text_left"><?php echo e(Lang::get('castle.previous')); ?></p>
                    </a>
                <?php endif; ?>
                <img src="/storage/<?php echo $postData->image; ?>" alt="" class="post__img">
                <?php if(!empty($nextSlug)): ?>
                    <a href="<?php echo e(route('media.view-post',['slug' => $nextSlug])); ?>" class="navigation post__navigation post__navigation_right">
                        <p class="navigation__text navigation__text_right"><?php echo e(Lang::get('castle.next')); ?></p>
                    </a>
                <?php endif; ?>
            </div>

            <div class="post__text"><?php echo $postData->body; ?></div>

        </section>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
    <script src="<?php echo e(mix('js/nav-menu.js')); ?>"></script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.site', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>