<?php get_header(); ?>
<div class="container">
  <div class="single-content" style="width:100%; margin-top: 70px;">
    <?php
    if ( have_posts() ) :
        while ( have_posts() ) : the_post(); ?>
        <?php gt_set_post_view(); ?>
    <article class="single-title">
      <header>
        <h1><?php the_title(); ?></h1>
        <div class="single-post-meta">
          <i class="fas fa-clock"></i>
          <span><?php the_time('d F Y'); ?></span>
        </div>
        <div class="single-post-meta">
          <i class="fas fa-user"></i>
          <span><?php the_author(); ?></span>
        </div>
        <div class="single-post-meta">
          <i class="fas fa-folder-open"></i>
          <span><?php the_category(' , '); ?></span>
        </div>
        <div class="single-post-meta">
          <i class="fas fa-eye"></i>
          <span><?= gt_get_post_view(); ?></span>
        </div>
      </header>
      <div class="single-post-thumbnail">
        <figure>
          <?php the_post_thumbnail(); ?>
        </figure>
      </div>
      <div class="post-content">
        <?php the_content(); ?>
      </div>
    </article>
    <?php
    endwhile;
endif;
?>

  </div>



</div>
<?php get_footer(); ?>
