<?php
/**
 * Single post content.
 *
 * @package ttsunsolar
 */
?>
<?php get_template_part( 'solarpanels/content/panel', 'breadcrumb' ); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'single-entry' ); ?>>
	<header class="entry-header">
		<h1 class="entry-title"><?php the_title(); ?></h1>
		<div class="entry-meta">
			<span><?php echo esc_html( get_the_date() ); ?></span>
		</div>
	</header>
	<?php if ( has_post_thumbnail() ) : ?>
		<div class="entry-thumb">
			<?php the_post_thumbnail( 'large' ); ?>
		</div>
	<?php endif; ?>
	<div class="entry-content">
		<?php
		the_content();
		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'ttsunsolar' ),
				'after'  => '</div>',
			)
		);
		?>
	</div>
	<?php if ( has_tag() ) : ?>
		<footer class="entry-footer entry-tags">
			<?php the_tags( '<span class="tags-label">' . esc_html__( 'Tags:', 'ttsunsolar' ) . '</span> ', ', ' ); ?>
		</footer>
	<?php endif; ?>
</article>
