<?php get_header(); ?>

<div class="uk-container">
	<main role="main">
		<div uk-grid>
			<section class="uk-width-1-1 uk-width-3-4@m">

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

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

					<?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('thumbnail'); ?>" data-width data-height uk-cover>
					</div>
					<?php endif; ?>

					<h1><?php the_title(); ?></h1>



					<?php the_content();?>

					
					<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>
			<?php get_sidebar(); ?>
		</div>
	</main>
</div>
<?php get_footer(); ?>
