mirror of
https://github.com/kennethreitz/wordpress-theme-skeleton.git
synced 2026-06-05 23:20:18 +00:00
initial development
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php /* Template Name: Index*/ ?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
|
||||
<?php if (have_posts()): while (have_posts()): the_post(); ?>
|
||||
|
||||
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
|
||||
|
||||
<div class="meat">
|
||||
<?php echo the_content(); ?>
|
||||
</div>
|
||||
|
||||
<?php if(comments_open()): ?>
|
||||
<div id="comments">
|
||||
<?php comments_template(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; endif; get_footer(); ?>
|
||||
Reference in New Issue
Block a user