<?php
/**
 * @package Wrock Metro
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

 $cols = wrockmetro_get_cols(); 
 ?>
	<div class="row row-cols-1 row-cols-sm-2 row-cols-md-<?php echo esc_attr($cols); ?> g-3">			
	<?php if ( have_posts() ) {
		// Start the Loop.
		while ( have_posts() ) {
			the_post();
			
				  get_template_part( 'loop-templates/content', 'blocks' );						
		}
	}else {
		get_template_part( 'loop-templates/content', 'none' );
	} ?>
	</div>

