<article>

<h4><?php the_title(); ?></h4>

<span>
        Posted in: <?php the_category(', '); ?>
        <br/>
</span>

<span>
        Written by: <?php the_author(); ?>
        <br/>
</span>

<span>
        On: <?php the_time('F j, Y'); ?>
        <br/>
</span>

<?php if(is_single()): ?>

        <?php the_content(); ?>
        <?php comments_template(); ?>

<?php else: ?>

        <?php the_excerpt(); ?>
        <a href="<?php the_permalink(); ?>">Continue Reading &rarr;</a>

<?php endif; ?>

</article>