Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (43 sloc) 1.67 KB
<?php get_header(); ?>
<div id="page">
<div class="column span-10 first" id="maincontent">
<div class="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- <div class="navigation small">
<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
</div>
<div style="padding-bottom: 15px;"></div> -->
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p class="small">
<?php the_time('F jS, Y') ?> &nbsp;|&nbsp;
<!-- by <?php the_author() ?> -->
Published in
<?php
the_category(', ');
if($post->comment_count > 0) {
echo ' &nbsp;|&nbsp; ';
if($post->comment_count > 1) {
echo '<a href="#comments">' . $post->comment_count . ' Comments</a>';
} else {
echo '<a href="#comments">1 Comment</a>';
}
}
edit_post_link('Edit', ' &nbsp;|&nbsp; ', '');
?>
</p>
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div> <!-- /content -->
</div> <!-- /maincontent-->
<?php get_sidebar(); ?>
</div> <!-- /page -->
<?php get_footer(); ?>