<?php global $shapebootstrap_options; ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <header class="entry-header">
        <span class="post-format">
            <i class="fa fa-thumb-tack"></i>
        </span>

        <h2 class="entry-title">
            <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
            <?php if ( is_sticky() && is_home() && ! is_paged() ) { ?>
            <sup class="featured-post"><?php _e( 'Sticky', 'shapebootstrap' ) ?></sup>
            <?php } ?>
        </h2> <!-- //.entry-title -->

        <?php get_template_part( 'post-format/entry-meta' ); ?> 

    </header> <!--/.entry-header -->

    <?php if ( has_post_thumbnail() && ! post_password_required() ) { ?>
        <div class="entry-thumbnail">
            <?php if (is_page_template('blog-full-width.php')) {
                the_post_thumbnail('blog-full', array('class' => 'img-responsive'));
            } else {
                the_post_thumbnail('blog-thumb', array('class' => 'img-responsive'));
            }?>
        </div>
    <?php } //.entry-thumbnail ?>

    <div class="entry-summary">
        <?php if ( is_single() ) {
            the_content();
        } else {
            the_excerpt();  
        } 
        wp_link_pages( array(
            'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'shapebootstrap' ) . '</span>',
            'after'       => '</div>',
            'link_before' => '<span>',
            'link_after'  => '</span>',
        ) );

        ?>
    </div> <!-- //.entry-summary -->
    
    <?php
     if (isset($shapebootstrap_options['blog-social']) && $shapebootstrap_options['blog-social'] ){
        if(is_single()) {
            get_template_part( 'post-format/social-buttons' );
        } else {
            get_template_part( 'post-format/social-buttons' ); 
        } 
    }
    ?>

</article> <!--/#post-->