<?php 
//post page

get_header(); ?>  

	<div class="blog-content">
        <div class="wrap">
			<?php if(get_theme_mod( 'enable_breadcrumb_check',1 )){ ?> 
            <div itemscope itemtype="http://schema.org/WebPage" id="crumbs" class="breadcrumb">
        		<?php ascreen_breadcrumb_trail(); ?> 
			</div>
            <?php } ?> 
            <div class="main">
                <!--article-->
                <ul class="blog-article-list">
                	<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
                
                    <li id="post-1176">
                        <a href="<?php the_permalink(); ?>"  class="images newsflash">
						<?php 
							if(has_post_thumbnail())
							{
								the_post_thumbnail( array(185, 135) );
                             }else{
								 
						?>
                        
                        <img width="185"  src="<?php echo esc_url(get_template_directory_uri());?>/images/default.jpg" class="attachment-185x135 size-185x135 wp-post-image" sizes="(max-width: 185px) 100vw, 185px" />  
                        <?php 
								 
								}
						?>
                        </a>
                        
                		<div class="info">
                    		<h3><a href="<?php the_permalink(); ?>"><?php esc_html(the_title()); ?></a></h3>
                            
							<?php ascreen_get_author_info();?>

                    		<div class="quote">
                            	<p><?php the_excerpt(); ?></p>
							</div>
                		</div>
            		</li>
                    
                    <?php endwhile;endif; ?>                
                    
            	</ul><!--ul class="blog-article-list"-->
 

                <?php 
					the_posts_pagination( array(
						'mid_size' => 2,
						'prev_text' => __( 'Previous ', 'ascreen' ),
						'next_text' => __( ' Next', 'ascreen' ),
						'screen_reader_text' => __( ' ', 'ascreen' ),
						
					) );
				?>
 
            </div><!--div class="main"-->

            <!--siedbar-->
            <?php get_sidebar(); ?>
            
            
    	</div><!--div class="wrap"-->
	</div><!--div class="blog-content"-->



<?php get_footer(); ?>