<?php
/**
 * Shows a simple single post
 *
 * @package Lambda
 * @subpackage Frontend
 * @since 1.0
 *
 * @copyright (c) 2015 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.26.0
 */
?>
<article id="post-<?php the_ID(); ?>" class="post-grid element-bottom-20 text-<?php echo esc_attr($text_align); ?>">
    <?php if (has_post_thumbnail()) : ?>
        <a href="<?php echo esc_url( strip_tags( $post->post_content ) ); ?>" target="_blank">
            <?php the_post_thumbnail('full', false, array('alt' => get_the_title(), 'class' => 'img-responsive')); ?>
        </a>
    <?php endif; ?>
    <div class="post-grid-content">
        <<?php echo esc_attr($title_tag); ?> class="post-grid-content-title">
            <a href="<?php echo esc_url( strip_tags( $post->post_content ) ); ?>" target="_blank">
                <?php the_title(); ?>
            </a>
        </<?php echo esc_attr($title_tag); ?>>
        <div class="post-grid-content-footer">
            <?php the_time(get_option('date_format')); ?>
        </div>
    </div>
</article>