<?php get_header(); ?>
<div class="uk-container uk-container-large">
	<main role="main">
		<div uk-grid>
			<section class="uk-width-1-1 uk-width-3-4@m">

				<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs" class="uk-margin uk-margin-top">','</p>'); } ?>
				<h1><?php the_title(); ?></h1>

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

<?php get_footer(); ?>
