<?php if(count($posts)): ?>

    <ul class="list-group mt-4 border-0">
        <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li class="list-group-item pl-2 pr-2 border-right-0 border-left-0 <?php if($loop->first): ?> border-top-0 <?php endif; ?>">
                <a href="<?php echo e(route('posts.show', $post->id), false); ?>">
                    <?php echo e($post->title, false); ?>

                </a>
                <span class="meta float-right text-secondary">
                  <?php echo e($post->reply_count, false); ?> 回复
                  <span> ⋅ </span>
                  <?php echo e($post->created_at->diffForHumans(), false); ?>

                </span>
            </li>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </ul>

<?php else: ?>
    <div class="empty-block">暂无数据 ~_~</div>
<?php endif; ?>


<div class="mt-4 pt-1">
    <?php echo $posts->render(); ?>

</div>
<?php /**PATH C:\Users\Administrator\Desktop\1\jiangqiangdexiaocao-master\resources\views/users/_posts.blade.php ENDPATH**/ ?>