-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
37 lines (33 loc) · 1.3 KB
/
index.php
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
<?php get_header(); ?>
<div class="container_12">
<?php if (have_posts()) : ?>
<div class="grid_8">
<div id="posts">
<?php while (have_posts()) : the_post(); ?>
<section class="post">
<div id="post-<?php the_ID(); ?>" class="post">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<p class="meta"><?php the_time('F jS, Y') ?> by <strong><?php the_author() ?></strong></p>
<?php the_content('Read the rest of this entry →'); ?>
<p><?php comments_popup_link('No Comments', '1 Comment →', '% Comments →'); ?></p>
</div>
</section>
<?php endwhile; ?>
</div>
<div>
<div id="older-posts"><?php next_posts_link('← Older Entries') ?></div>
<div id="newer-posts"><?php previous_posts_link('Newer Entries →') ?></div>
</div>
</div>
<?php else : ?>
<section class="grid_8">
<h1>Not Found</h1>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
</section>
<?php endif; ?>
<section id="sidebar" class="grid_4">
<?php get_sidebar(); ?>
</section><!-- /sidebar -->
</div><!-- /container_12 -->
<?php get_footer(); ?>