c57d71898a90b52b616b2e54c692cd52e6ad58f1
[WebKit.git] / WebKitSite / blog / wp-content / themes / webkit / index.php
1
2 <?php get_header(); ?>
3
4         <?php if (have_posts()) : ?>
5                 
6                 <?php while (have_posts()) : the_post(); ?>
7
8                         <div class="post" id="post-<?php the_ID(); ?>">
9                                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
10                                 <small>Posted by <strong><?php the_author() ?></strong> on <?php the_time('l, F jS, Y') ?> at <?php the_time('g:i a') ?></small>
11
12                                 <div class="entry">
13                                         <?php the_content('Read the rest of this entry &raquo;'); ?>
14                                 </div>
15
16                                 <p class="postmetadata"><?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments...', '1 Comment...', '% Comments...'); ?></p>
17                         </div>
18
19                 <?php endwhile; ?>
20
21                 <div class="navigation">
22                         <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
23                         <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
24                 </div>
25
26         <?php else : ?>
27
28                 <h2 class="center">Not Found</h2>
29                 <p class="center">Sorry, but you are looking for something that isn't here.</p>
30                 <?php include (TEMPLATEPATH . "/searchform.php"); ?>
31
32         <?php endif; ?>
33
34 <?php get_footer(); ?>