<?php
/**
 * Template part for displaying blog posts.
 *
 * @package Chic Lifestyle
 */

?>


<div class="single-post">
    <div class="info">
        <ul class="list-inline">
            <li><i class="fa fa-user"></i> <?php echo get_the_author_meta('display_name');?></li>
            <li><i class="fa fa-calendar"></i> <?php echo esc_attr( get_the_date('d M Y') ); ?></li>
            <li><i class="fa fa-comments-o"></i> <?php comments_popup_link( __('zero comment','chic-lifestyle'), __('one comment','chic-lifestyle'), '% '.__('comments','chic-lifestyle') ); ?></li>
        </ul>
    </div>

    <div class="post-content">
        <?php if ( has_post_thumbnail() ) : ?>
            <figure>
                <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_post_thumbnail(); ?></a>
                <figcaption><?php the_post_thumbnail_caption(); ?></figcaption>
            </figure>
        <?php endif; ?>

        <article class="contents">
            <a href="<?php the_permalink(); ?>" rel="bookmark"><h1 class="post-title"><?php the_title(); ?></h1></a>
            <?php the_excerpt(); ?>
        </article>

        <div class="bottom-info">
            <a href="<?php the_permalink(); ?>" rel="bookmark" title="" class="btn btn-primary pull-left"><?php esc_html_e('Read More','default'); ?> <i class="fa fa-angle-double-right"></i></a>
            <div class="clearfix visible-xs"></div>

            <div class="tag-cat pull-right">
                <ul class="list-inline">
                  <li><i class="fa fa-folder-open"></i> <?php the_category();?></li>
                  <li><i class="fa fa-tags"></i><?php the_tags();?></li>
                </ul>
            </div>

        </div>
    </div>
</div>
<div class="clearfix"></div>