
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="preview">
      <div class="post-media">
        <?php 
          if ( has_post_thumbnail() ) {
            the_post_thumbnail();
          } 
        ?>
      </div>
      <h3 class="blog-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
      <div class="post-meta">
        <span class="date"><i class="fa fa-calendar-o"></i><?php the_time('M d, Y'); ?></span>
        <span class="author"><i class="fa fa-pencil-square-o"></i><?php the_author(); ?></span>
        <span class="comments"><i class="fa fa-comment-o"></i><?php comments_number( __('0 comment', 'startos'), __('1 comment', 'startos'), __('% comments', 'startos') ); ?></span>
      </div>
      <p class="excerpt"><?php echo startos_excerpt(); ?></p>
      <a href="<?php the_permalink(); ?>" class="button2 sdark"><?php _e('Read more', 'startos') ?></a>
  </div>

</li>