<!-- Post (Standard Format) -->
<?php $class = get_post_format()=="" ? 'standard' : get_post_format(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('entry entry__'.$class); ?> >
	<div class="row"><?php
			$col = 12;
			if(has_post_thumbnail()){
			$img_class = array('class'=>'img_responsive');
			$col = 7; ?>
		<div class="col-sm-5 col-md-5">
			<figure class="alignnone entry-thumb">
				<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('fortune_blog_thumb', $img_class);?></a>
			</figure>
		</div><?php
			} ?>
		<div class="col-sm-<?php echo absint($col); ?> col-md-<?php echo absint($col); ?>">
			<header class="entry-header">
				<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
				<div class="entry-meta">
					<span class="entry-date"><?php echo esc_html(fortune_posted_on()); ?></span>
					<span class="entry-comments"><?php esc_url(comments_popup_link(__('No Comments', 'fortune'), __('1 Comment', 'fortune'), __('% Comments', 'fortune'))); ?></span><?php 
					if (has_category()) {?>
					<span class="entry-category"><?php 
						esc_html_e('in ','fortune'); 
						/* translators: used between list items, there is a space after the comma */ 
						echo get_the_category_list(__( ', ', 'fortune' )); ?>
					</span><?php
					} if(has_tag()){ ?>
					<span class="entry-category"><?php 
						esc_html_e('Tags  ','fortune');  
						/* translators: used between list items, there is a space after the comma */ 
						echo get_the_tag_list('', __( ', ', 'fortune' )); ?>
					</span><?php
					} ?>
					<span class="entry-author"><?php esc_html_e('by','fortune'); ?> <a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>"><?php the_author(); ?></a></span>
				</div>
			</header>
            <?php 
            	the_content();
            	wp_link_pages( array(
					'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'fortune' ),
					'after'  => '</div>',
				) );
            ?>		</div>
	</div>
</article>
<!-- Post (Standard Format) / End -->