<?php
/**
 * The template for displaying category pages
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Vast
 * @since 1.0
 * @version 1.0
 */

get_header(); ?>

<div class="container">
	<div class="row">
		<div <?php vast_content_class(); ?>>
			<div id="category-post">
				<?php if ( have_posts() ) : ?>
					<header class="archive-page-header">
						<?php
							the_archive_title(
								wp_kses(
									'<h3 class="archive-title">',
									array(
										'h3' => array(
											'class' => array(),
										),
									)
								),
								wp_kses(
									'</h3>',
									array(
										'h3' => array(
											'class' => array(),
										),
									)
								)
							);
						?>
					</header><!-- .page-header -->
					<div class="vast-grid flip-effect" id="vast-grid">
					<div class="grid-sizer"></div>
					<?php

					while ( have_posts() ) :
						the_post();
						get_template_part( 'template-parts/entry/content', get_post_format() );
					endwhile;
					?>
					</div>
				<?php endif; ?>
			</div><!-- #category-post -->
		</div>
		<?php get_sidebar(); ?>
	</div>
</div><!-- .container -->

<?php get_footer(); ?>
