- Move posts exists check and post navigation to index.php - templates/content.php now only contains the post that's pulled in from index.php - Specific post format templates now properly work
13 lines
387 B
PHP
13 lines
387 B
PHP
<article <?php post_class(); ?>>
|
|
<header>
|
|
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
|
<?php get_template_part('templates/entry-meta'); ?>
|
|
</header>
|
|
<div class="entry-summary">
|
|
<?php the_excerpt(); ?>
|
|
</div>
|
|
<footer>
|
|
<?php the_tags('<ul class="entry-tags"><li>','</li><li>','</li></ul>'); ?>
|
|
</footer>
|
|
</article>
|