<?php
/**
 * The template to display post single entry layout.
 *
 * This template can be overridden by copying it to
 * your-child-theme/views/entry-layouts/post-single.php.
 *
 * @package MadeByAura\Prime
 * @author  MadeByAura.com
 *
 * @param array $args
 */

namespace MadeByAura\Prime;

use MadeByAura\Prime\Base;

defined( 'ABSPATH' ) || die();

// Set CSS classes.
$classes[] = 'aura-post';
$classes[] = 'aura-post-single';
?>

<article <?php post_class( $classes ); ?>>
	<?php
	Base::view(
		'views/entry/terms',
		[
			'class' => 'aura-post-single__categories',
		],
	);
	?>

	<?php
	Base::view(
		'views/entry/title',
		[
			'tag'   => 'h1',
			'link'  => false,
			'class' => 'aura-post-single__title',
		],
	);
	?>

	<?php
	Base::view(
		'views/entry/date',
		[
			'class' => 'aura-post-single__date',
		],
	);
	?>

	<?php
	Base::view(
		'views/entry/image',
		[
			'image_size' => 'aura_banner',
			'link'       => false,
			'class'      => 'aura-post-single__image',
		],
	);
	?>

	<?php
	Base::view(
		'views/entry/content',
		[
			'class' => 'aura-post-single__content',
		],
	);
	?>

	<?php Base::view( 'views/entry/share-links' ); ?>
	<?php Base::view( 'views/post/single/related-posts' ); ?>
</article>
