<?php
/**
 * Template part for displaying posts.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Amazing_Blog
 */
global $amazing_blog_customizer_all_values;
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="block-holder">

	<header class="entry-header">
		<?php
			the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );

		if ( 'post' === get_post_type() ) : ?>
		<div class="entry-meta">
			<?php amazing_blog_posted_on(); ?>
			<?php amazing_blog_entry_footer(); ?>
		</div><!-- .entry-meta -->
		<?php
		endif; ?>
	</header><!-- .entry-header -->
	<div class='image-full'>
		<?php the_post_thumbnail('full'); ?>
	</div>
	
	<div class="entry-content">
		<?php the_excerpt(); ?>
	</div><!-- .entry-content -->

</div>
</article><!-- #post-## -->
