<?php
/**
 * The template for displaying search results pages.
 *
 * @package Maskitto Light
 */

get_header(); ?>

<div class="page-category">
	<a href="#" class="category-item"><?php printf( __( 'Search Results for: %s', 'maskitto-light' ), '<span>' . get_search_query() . '</span>' ); ?></a>
</div>

<div class="page-section page-blog">
	<div class="container">
		<div class="row">
			<div class="col-md-8 blog-column-left">
				<div class="row blog-list">

				<?php if ( have_posts() ) : ?>

					<?php /* Start the Loop */ ?>
					<?php while ( have_posts() ) : the_post(); ?>

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

					<?php endwhile; ?>

					<?php maskitto_light_paging_nav(); ?>

				<?php else : ?>

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

			<?php endif; ?>

				</div>
			</div>
			<div class="col-md-4 blog-column-right">

				<?php get_sidebar(); ?>

			</div>
		</div>
	</div>
</div>

<?php get_footer(); ?>