public
Description: a wordpress theme for me
Homepage: http://blowery.org/
Clone URL: git://github.com/blowery/rococo.git
rococo / index.php
100644 39 lines (30 sloc) 1.395 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php get_header(); ?>
 
<!-- html structure based on http://microformats.org/wiki/hatom -->
<div id="content" class="hfeed">
<?php if(have_posts()) : ?>
 
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post hentry">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="meta">
<abbr class="published" title="<?php the_time('D, d M Y H:m:s -0000', true); ?>"><?php the_time("M j Y"); ?></abbr>.
<?php comments_popup_link("Add a comment.", "1 comment. Add your own.", "% comments. Add your own.", "comments", "closed comments"); ?>
<?php edit_post_link("Edit", '<span class="edit">', "</span>"); ?>
</div>
<div class="entry-content">
<?php the_content(); ?>
</div>
</div>
<?php endwhile; ?>
 
<div class="navigation">
<div class="backward"><?php next_posts_link('&laquo; Previously') ?></div>
<div class="forward"><?php previous_posts_link('Subsequently &raquo;') ?></div>
</div>
<div class="clear-both"></div>
<?php else : ?>
 
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
 
<?php endif; ?>
 
</div>
 
<?php get_sidebar(); ?>
<?php get_footer(); ?>