<div id="content" class="container">

    <div class="row sidebar_list_layout" id="blog">
    
        <div class="<?php echo daily_diary_template('span') .' '. daily_diary_template('sidebar'); ?>">

            <div class="row"> 
        
				<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

					<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                
                        <?php do_action('daily_diary_postformat'); ?>
                        <div class="clear"></div>
                        
                    </div>
		
				<?php 
                
                    endwhile; 
                    else:  
                
                ?>

                    <div class="post-container col-md-12" >
                
                        <article class="post-article not-found">
                                
                            <h1><?php esc_html_e( 'Not found', 'daily-diary' ) ?></h1>
                            <p><?php esc_html_e( 'Sorry, no posts found', 'daily-diary' ) ?></p>
                 
                        </article>
                
                    </div>
	
				<?php 
                    
                    endif;
                
                ?> 
        
            </div>

        	<?php do_action( 'daily_diary_pagination', 'home'); ?>

        </div>
        
		<?php do_action( 'daily_diary_side_sidebar'); ?>
           
    </div>

</div>