<?php get_header(); ?>

<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<h2><?php the_title(); ?></h2>
<p class="timestamp"><strong><?php the_time('j F, Y (H:i)') ?> | <?php the_category(', ') ?> | By: <?php the_author(); ?><?php edit_post_link('[e]',' | ',''); ?></strong></p>
<div class="contenttext">
<?php the_content('<p>Read more &raquo;</p>'); ?>
</div>

<?php link_pages('<p><strong>Pages:<strong> ', '</p>', 'number'); ?>

<div class="postpagesnav">
<div class="older"><?php previous_post_link('&laquo; %link') ?></div>
<div class="newer"><?php next_post_link('%link &raquo;') ?></div>
<br class="clear" />
</div>

<?php comments_template(); ?>

<?php endwhile; else: ?>
<p>Inlägget kunde inte hittas.</p>
<?php endif; ?>

</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>