<?php get_header(); ?> <div id="content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php previous_posts_link(__('« Newer Entries')); ?></div> <div class="alignright"><?php next_posts_link(__('Older Entries »')); ?></div> </div> <?php else : ?> <h2 class="center"><?php _e('Not Found.'); ?></h2> <?php _e('Search something maybe?'); ?> <?php get_search_form(); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>