<?php
    $blogSidebar = dynamic_sidebar('blog_sidebar');
?>

<div class="row mt-30">
    <div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['col-lg-8' => $blogSidebar, 'col-lg-12' => ! $blogSidebar]); ?>">
        <div class="row">
            <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['mb-30', 'col-lg-6' => $blogSidebar, 'col-lg-4' => ! $blogSidebar]); ?>">
                    <?php echo Theme::partial('blog.box-post', ['post' => $post]); ?>

                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <?php echo $posts->withQueryString()->links(Theme::getThemeNamespace('partials.pagination')); ?>

    </div>
    <?php if($blogSidebar): ?>
        <div class="col-lg-4 col-md-12 col-sm-12 col-12 pl-40 pl-lg-15 mt-lg-30">
            <?php if(is_plugin_active('ads')): ?>
                <?php echo apply_filters('ads_render', null, 'blog_sidebar_before', ['class' => 'my-2 text-center']); ?>

            <?php endif; ?>

            <?php echo dynamic_sidebar('blog_sidebar'); ?>


            <?php if(is_plugin_active('ads')): ?>
                <?php echo apply_filters('ads_render', null, 'blog_sidebar_after', ['class' => 'my-2 text-center']); ?>

            <?php endif; ?>
        </div>
    <?php endif; ?>
</div>
<?php /**PATH C:\xampp\htdocs\tngamechanger\platform\themes/jobbox/partials/blog/posts.blade.php ENDPATH**/ ?>