<?php
/**
 * Template part for displaying posts.
 *
 * @package Travel Tour
 */

if ( $args['view'] == 'list-view' ) {
  get_template_part( 'layouts/blog/blog-view', 'list' );
} else if ( $args['view'] == 'grid-view' ) {
  get_template_part( 'layouts/blog/blog-view', 'grid' );
} else if ( $args['view'] == 'full-width-view' ) {
  get_template_part( 'layouts/blog/blog-view', 'full' );
}

?>