<?php
/**
 * @package Home Guard
 */
?>
<div class="hg-blog-list">
 <article id="post-<?php the_ID(); ?>" <?php post_class('single-post'); ?>>
   <div class="hg-blogstyle"> 
    <header class="entry-header">        
           <div class="hg-blog-meta">
			 <?php if( get_theme_mod( 'home_guard_hide_postdate_fromsingle' ) == '') { ?> 
                  <div class="post-date"> <i class="far fa-clock"></i>  <?php echo esc_html( get_the_date() ); ?></div><!-- post-date --> 
                <?php } ?> 
                
                <?php if( get_theme_mod( 'home_guard_hide_postcats_fromsingle' ) == '') { ?> 
                  <span class="hg-blog-cat"> <i class="far fa-folder-open"></i> <?php the_category( __( ', ', 'home-guard' ));?></span>
               <?php } ?>  
             </div><!-- .hg-blog-meta --> 
             <?php the_title( '<h3 class="single-title">', '</h3>' ); ?>      
    </header><!-- .entry-header -->
    <div class="entry-content">		
        <?php the_content(); ?>
        <?php
        wp_link_pages( array(
            'before' => '<div class="page-links">' . __( 'Pages:', 'home-guard' ),
            'after'  => '</div>',
        ) );
        ?>
        <div class="postmeta">          
            <div class="post-tags"><?php the_tags(); ?> </div>
            <div class="clear"></div>
        </div><!-- postmeta -->
    </div><!-- .entry-content -->   
    <footer class="entry-meta">
      <?php edit_post_link( __( 'Edit', 'home-guard' ), '<span class="edit-link">', '</span>' ); ?>
    </footer><!-- .entry-meta -->
    </div><!-- .hg-blogstyle--> 
 </article>
</div><!-- .hg-blog-list-->