<?php
/*
Template Name: Blog list - Aside
*/
?>
<?php get_header(); ?>
<div class="contents-wrap float-left two-column">
	<?php

	if ( get_query_var('paged') ) {
	$paged = get_query_var('paged');
	} elseif ( get_query_var('page') ) {
	$paged = get_query_var('page');
	} else {
	$paged = 1;
	}
	
	$args = array(
	'paged='.$paged,
	'showposts' => '',
	'posts_per_page' => '',
	'tax_query' => array(
			array(
				'taxonomy' => 'post_format',
				'field' => 'slug',
				'terms' => array('post-format-aside')
				)
			)
	);
	query_posts( $args );
	?>
	<div class="entry-content-wrapper">
	<h1 class="entry-title"><?php the_title(); ?></h1>
	<?php get_template_part( 'loop', 'blog' ); ?>
	</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>