<?php get_header();
global $pixomi_data;
$switch_blog_share = $pixomi_data['switch_blog_share']; ?>
<div id="main-content" class="single-blog">
    <div class="container">
        <div class="row">
            <div class="col-lg-9 col-md-9 col-sm-12">
                <div class="blog-single">
                    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                        <?php get_template_part( 'content' ); ?>
                    <?php endwhile; endif; ?>
                </div>
                <div class="blog-meta-wrap">
                    <?php if(is_single()){ ?>
                        <?php echo get_the_tag_list('<div class="single-post-tags date-color">', '', '</div>'); ?>
                    <?php } ?>
                    <?php if( $switch_blog_share ){ ?>
                        <div class="social-share text-right">
                            <?php get_template_part( 'functions/socialshare' ); ?>
                        </div>
                    <?php } ?>
                </div>
                <div class="blog-comments">
                    <?php if ( comments_open() || get_comments_number() ) { comments_template(); } ?>
                </div>
            </div>
            <div id="sidebar" class="col-lg-3 col-md-3 col-sm-12" role="complementary">
                <?php get_sidebar(); ?>
            </div>
        </div>
    </div>
</div>
<?php get_footer(); ?>



