<?php get_header(); ?>

  <main class="section">

    <?php if( have_posts() ) : ?>
  
      <h2 class="pagetitle"><?php _e( 'Searching for', 'estelle' ); ?> &quot;<?php the_search_query(); ?>&quot;</h2>

    <?php while( have_posts() ) : the_post(); ?>

      <?php get_template_part( 'content', 'list' ); ?>

    <?php endwhile; ?>

      <?php estelle_get_pagination_links(); ?>

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

  </main><!-- .section -->

  <?php get_sidebar(); ?>

<?php get_footer(); ?>