<?php get_header(); ?>
<?php if ( has_post_thumbnail() ) : ?> 
<div class="uk-cover-container uk-text-center banner">
	<canvas width="" height="250"></canvas>
	<img uk-img data-src="<?php the_post_thumbnail_url('full'); ?>" data-width data-height uk-cover>
	
	<div class="uk-position-center">
		<h1 class="uk-text-center white"><?php the_title(); ?></h1>
	</div>
</div>
<?php endif; ?>
<div class="uk-container uk-margin-large-top">
	<main role="main">

			<section>

				<?php if (have_posts()): while (have_posts()) : the_post(); ?>

					<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

						<?php the_content(); ?>

						<div class="uk-clearfix"></div>

						<p class="uk-text-right"><?php edit_post_link( __('Edit this page'), '', '', 0, 'post-edit-link uk-text-large uk-padding-small uk-button-large uk-button uk-button-primary' ); ?></p>

					</article>

			<?php endwhile; ?><?php endif; ?>

			</section>

	</main>
</div>

<?php get_footer(); ?>
