<?php $__env->startSection('content'); ?>
<div class="page-title-container">
            <div class="container">
                <div class="page-title pull-left">
                    <h2 class="entry-title">Blog</h2>
                </div>
                <ul class="breadcrumbs pull-right">
                    <li><a href="<?php echo URL('/'); ?>">HOME</a></li>
                    <li class="active">Blog</li>
                </ul>
            </div>
        </div>

        <section id="content">
            <div class="container">
                <div class="row">
                    <div id="main" class="col-sm-12 col-md-12">
                        <div class="page">
                     
                            <div class="post-content">
                                <div class="blog-infinite">
                                <?php foreach($posts as $post): ?>
                                    <div class="post">
                                        <div class="post-content-wrapper">
                                            <figure class="image-container">
                                                <a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>"><img src="<?php echo URL('/media/uploads/images/hotel/size/1140x416/'.AppHelper::blogPostthumb($post->id).''); ?>" alt="" /></a>
                                            </figure>
                                            <div class="details">
                                                <h2 class="entry-title"><a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>"><?php echo $post->seo_title; ?></a></h2>
                                                <div class="excerpt-container">
                                                    <p>
                                                        <?php echo $post->seo_description; ?>

                                                    </p>
                                                </div>
                                                <div class="post-meta">
                                                    <div class="entry-date">
                                                        <label class="date"><?php echo date('d', strtotime($post->created_at)); ?></label>
                                                        <label class="date"><?php echo date('F', strtotime($post->created_at)); ?></label>
                                                    </div>
                                                    <div class="entry-author fn">
                                                        <i class="icon soap-icon-user"></i> Posted By:
                                                        <a href="#" class="author"><?php echo AppHelper::config('site_name'); ?></a>
                                                    </div>
                                                    <div class="entry-action">
                                                     
                                                        <span class="entry-tags"><i class="soap-icon-features"></i><span>
                                                 
                                                        </span></span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; ?>
                    
                                </div>
                                <ul class="pagination">
                                   <?php echo $posts->links(); ?>
                                </ul>


                            </div>
                        </div>
                    </div>
 
                </div>
            </div>
        </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('front.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>