

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

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<!-- BEGIN .page-content -->
<div class="page-content blog-list-wrapper">
	<?php foreach($posts as $post): ?>
	<!-- BEGIN .blog-title -->
	<div class="blog-title clearfix">
		<div class="fl">
			<h3><a href="<?php echo e(Asset('home/read-more')); ?>/<?php echo e($post -> id); ?>"><?php echo e($post -> title); ?></a><span>Posted <?php echo e($post -> created_at); ?> by Admin</span></h3>
		</div>
		<div class="comment-count fr">
			<h3><a href="blog-single.html">0</a></h3>
			<div class="comment-point"></div>
		</div>
	<!-- END .blog-title -->
	</div>

	<!-- BEGIN .blog-content -->
	<div class="blog-content clearfix">
		<div class="block-img1"><img src="<?php echo e($post -> image); ?>" alt="" class="prev-image" /></div>
		<?php
			$desc = explode(".", $post -> description);
		?>
		<p style="text-align: justify"><?php echo e($desc[0]); ?>...</p>
		<p><a href="<?php echo e(Asset('home/read-more')); ?>/<?php echo e($post -> id); ?>" class="button2">Xem thêm</a></p>
	<!-- END .blog-content -->
	</div>
	<?php endforeach; ?>
	
	<div class="page-pagination">
		<p class="clearfix">
			<span class="fl"><a href="<?php echo e($posts->previousPageUrl()); ?>">&larr; Older Posts</a></span>
			<span class="fr"><a href="<?php echo e($posts->nextPageUrl()); ?>">Newer Posts &rarr;</a></span>
		</p>
	</div>
	
<!-- END .page-content -->
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('template.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>