<?php
/**
 * Template part for displaying results in archive pages.
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class('uk-article uk-margin-xlarge-bottom'); ?>>
	<header class="entry-header uk-text-center">
		<?php the_title( sprintf( '<h2 class="entry-title uk-text-center-small"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
        
        
        <?php if ( 'post' === get_post_type() ) : ?>
		<div class="entry-meta uk-article-meta uk-text-center-small uk-margin-large-bottom">
			<?php igaa_posted_on(); ?>
		</div><!-- .entry-meta -->
		<?php endif; ?>
	</header><!-- .entry-header -->
	
	<?php igaa_post_thumbnail(); ?>

	<?php igaa_excerpt(); ?>

	<footer class="entry-footer uk-margin-large uk-text-center">
		<?php igaa_entry_footer(); ?>
	</footer><!-- .entry-footer -->
</article><!-- #post-## -->