<?php get_header(); ?>

<div id="body" class="page-row page-row-expanded">
    <div class="container">
        <div id="content">
            <div class="entry">
                <h1><?php
                    _e('Search results for: ');
                    echo get_search_query();
                    ?></h1>
            </div>
            <?php if (have_posts()) : ?>

                <?php while (have_posts()) : the_post(); ?>
                    <?php get_template_part('templates/content', 'post'); ?>
                <?php endwhile; ?>

                <?php get_template_part('templates/pagination', 'post'); ?>

            <?php else : ?>
                <?php get_template_part('templates/content', 'none'); ?>
            <?php endif; ?>

        </div>
        <!-- / content -->

    </div>
    <!-- / container -->
</div>

<?php get_footer(); ?>