<div class="container">
                <div class="row">
                    <div class="col-sm-12 blogmn">
                        <h1>Our Blog</h1>
                        <!-- <a href="blog">View Blogs</a> -->
                        
                        
                        </div>   
            <?php $postCollection = $block->getPostCollection(); ?>
            <?php $postCollection->addAttributeToSelect('*')
           ->getSelect()->orderRand(); ?>
            <?php if ($postCollection && $postCollection->getSize()) : ?> 
                <?php 
                $count =0;
                $end = 3;?>
            <?php /** @var \Mageplaza\Blog\Model\Post $post */
            foreach ($postCollection as $post) : ?>  
                <?php $count++; ?>   
                    <div class="col-sm-4">
                        <div class="blgbox">
                            <?php if ($post->getImage()) : ?>
                            <a href="<?= $post->getUrl() ?>">
                                    <img class="img-responsive" src="<?= $block->resizeImage($post->getImage(), '400x'); ?>" alt="<?= $block->escapeHtml($post->getName()); ?>">
                                </a>
                             <?php endif; ?>   
                        <h2><a href="<?= $post->getUrl() ?>" title=""><?= $block->escapeHtml($post->getName()); ?></a></h2>
                        <p><?= $block->maxShortDescription($post->getShortDescription()); ?></p>
                        <p><?/*<?= $block->getPostInfo($post); ?> */?></p>
                            
                        </div>
                      </div>
                <?php if ($count == $end) break; ?>
              <?php endforeach; ?>
              <?php endif; ?>        
                      <!-- <div class="col-sm-4">
                        <div class="blgbox">
                            <a href="http://www.maleface.com/blog/post/face-care-how-to-do-it-the-right-way">
                                    <img class="img-responsive" src="http://www.maleface.com/pub/media/mageplaza/blog/post/resize/400x/1/4/1495096775727493411.jpg" alt="FACE CARE &amp; HOW TO DO IT THE RIGHT WAY">
                                </a>
                        <h2><a href="#" title="">FIGHTING FRIZZ AND GETTING BACK OUR HEALTHY HAIR THIS FALL</a></h2>
                        <p>It may not feel like fall outside, especially in our quest for healthy hair with less frizz, but it is indeed officially fall!   It’s been a brutally hot and humid...</p>
                            
                        </div>
                      </div>
                      
                      <div class="col-sm-4">
                        <div class="blgbox">
                            <a href="http://www.maleface.com/blog/post/face-care-how-to-do-it-the-right-way">
                                    <img class="img-responsive" src="http://www.maleface.com/pub/media/mageplaza/blog/post/resize/400x/1/4/1495096775727493411.jpg" alt="FACE CARE &amp; HOW TO DO IT THE RIGHT WAY">
                                </a>
                        <h2><a href="#" title=""> HIGH FASHION AND NATURAL HAIR RULE AT NEW YORK FASHION WEEK </a></h2>
                        <p>Ahhhh, there’s nothing like New York Fashion Week to provide us with jaw-dropping fashion, fantastic hairstyles and looks to inspire fashionistas everywhere.&nbsp; New York Fashion Weekbrings out all the fashionistas,...</p>
                            
                        </div>
                      </div> -->
                      
                      
                      </div>
                      </div>



