<?php
/**
 * Template part for displaying the news layout on the right side of the page
 *
 * @package MarComm-AUX
 * @since 1.0.0
 */
use WP_AUX\Entities\PageTemplateEntity;

$auxTemplate = PageTemplateEntity::getRequested();
?>
<div class="aux-container--fluid-mw">
  <div class="row">
    <div class="col-9">
      <div class="aux-body-content">
        <?php
          $auxTemplate->renderContent();
        ?>
      </div>
      <?php
        $auxTemplate->renderTemplatePart('footer-right');
      ?>
    </div>
    <aside id="in-page-nav" class="col-3 f-order-1">
      <?php $auxTemplate->sidebar->render(); ?>
    </aside>
  </div>
</div>
