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

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

		<div class="">

			<?php
				$image = get_field('image');
				if( $image ): ?>
						<a href="<?php the_permalink(); ?>"><img class="corners" src="<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>" /></a>
				<?php endif; ?>

				<h3><a class="blue green-hov" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
				<?php
				$text = get_field('short_description');
				if( $text ): ?>
						<p><?php echo esc_html($text); ?></p>
				<?php endif; ?>

		</div>

	</article>
</div>

<?php endwhile; ?>

<?php else: ?>
	<article>
		<h2><?php _e( 'Sorry, nothing to display.', 'html5blank' ); ?></h2>
	</article>
<?php endif; ?>
