<?php
$title = $args['title'] ?? null;
$description = $args['description'] ?? null;
$subtitle = $args['subtitle'] ?? null;
$thumbnail = $args['thumbnail'] ?? null;
$modified = $args['modified'] ?? null;
$subtitle = $args['subtitle'] ?? null;
?>

<div class="heading-box heading-box--jobs ">

	<div class="heading-box--jobs__content">
		<?php if ($subtitle) : ?>
			<h2 class="heading-box__subtitle heading-box--jobs__type"><?php echo $subtitle ?></h2>
		<?php endif; ?>
		<h1 class="heading-box__title heading-box--jobs__title"> <?php echo $title ?></h1>

		<?php
		get_template_part("template-components/post-infos-capsule", null, array(
			"postID" => get_the_ID(),
			"modified" => $modified
		));
		?>
	</div>

	<?php if ($thumbnail) echo $thumbnail ?>
</div>