<?php
/**
 * The default template for displaying content
 */ ?>
<div class="container theme-container">
    <div class="page-article">
        <div class="row blog-page">
            <div class="col-md-9 col-sm-8">
                <div class="masonry-container masonry">
                    <?php while (have_posts()): the_post(); ?>
                        <div class="col-md-6 col-sm-6 our-latest-box">
                            <div class="latest-blog-img">
                                <div class="inner-grid">
                                    <?php if (has_post_thumbnail()) {                                         ?>
                                        <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail-image'); ?></a>
                                    <?php }else{ ?> 
                                        <a href="<?php the_permalink(); ?>"><div class="no-img fa-stack fa-lg"> <i class="fa fa-image fa-stack-1x"></i>
  <i class="fa fa-ban fa-stack-1x "></i>   </div></a>
                                    <?php } ?>
                                    <div class="post-meta">
                                        <ul>
                                            <?php legal_entry_meta(); ?>
                                        </ul>
                                    </div>
                                </div>
                                <div class="latest-blog-inner">
                                    <a class="latest-blog-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                                    <?php the_excerpt(); ?>
                                </div>
                            </div>
                        </div>
                    <?php endwhile; ?>
                </div>
                <div class="col-md-12 site-pagination">
                    <div class="site-pagination">
                        <ul>						
                            <?php // Previous/next page navigation. 
                            the_posts_pagination(); ?></ul>
                    </div>
                </div>
            </div>
            <?php get_sidebar(); ?>
        </div>
    </div>
</div>