Prettier code is consistent.

This commit is contained in:
Foxaii
2012-11-22 23:30:50 +00:00
parent 4f1395aba7
commit 4d64cbebd6

View File

@@ -24,16 +24,16 @@
<?php if ($wp_query->max_num_pages > 1) : ?>
<nav id="post-nav">
<ul class="pager">
<?php if (get_next_posts_link()) : ?>
<li class="previous"><?php next_posts_link(__('&larr; Older posts', 'roots')); ?></li>
<?php else: ?>
<li class="previous disabled"><a><?php _e('&larr; Older posts', 'roots'); ?></a></li>
<?php endif; ?>
<?php if (get_previous_posts_link()) : ?>
<li class="next"><?php previous_posts_link(__('Newer posts &rarr;', 'roots')); ?></li>
<?php else: ?>
<li class="next disabled"><a><?php _e('Newer posts &rarr;', 'roots'); ?></a></li>
<?php endif; ?>
<?php if (get_next_posts_link()) : ?>
<li class="previous"><?php next_posts_link(__('&larr; Older posts', 'roots')); ?></li>
<?php else: ?>
<li class="previous disabled"><a><?php _e('&larr; Older posts', 'roots'); ?></a></li>
<?php endif; ?>
<?php if (get_previous_posts_link()) : ?>
<li class="next"><?php previous_posts_link(__('Newer posts &rarr;', 'roots')); ?></li>
<?php else: ?>
<li class="next disabled"><a><?php _e('Newer posts &rarr;', 'roots'); ?></a></li>
<?php endif; ?>
</ul>
</nav>
<?php endif; ?>