<?php
/**
 * Template part for displaying posts
 *
 */

?>
<?php $block = has_post_thumbnail()?'small-8':'small-12 post-list--no-thumb';?>
<div class="post-list">
	<div class="row">
		<?php if(has_post_thumbnail()):?>
			<div class="column small-4">
				<a href="<?php the_permalink(); ?>" class="post-list__img"><?php the_post_thumbnail( 'lumbini-featured-image' ); ?></a>
			</div>
		<?php endif;?>

		<div class="column <?php echo $block;?>">
			<div class="post-list__content">
				
				<p class="post-list__title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></p>
				<?php echo lumbini_time_link();?>
			</div>
			
		</div>
	</div>
</div>


