<?php 
    if ($node->type == 'news_release') {
        $formatted_date = format_date($created, 'medium');
        echo "\n                    <time>{$formatted_date}</time>\n                    <h1>{$node->title}</h1>\n                    ";
    }
    echo $contentHTML;
    ?>
        </article>
        <?php 
    if (!empty($content['field_google_calendar_id']['#items']) && $type == 'calendar') {
        foreach ($content['field_google_calendar_id']['#items'] as $i) {
            cob_include('calendar', ['calendarId' => $i['value'], 'type' => $type]);
        }
    }
    ?>
    <?php 
    if (!empty($committee)) {
        cob_include('committeeMembers', ['committee' => $committee]);
    }
    if (!empty($contactInfo)) {
        cob_include('departmentStaff', ['contactInfo' => $contactInfo]);
    }
    foreach ($relatedContent as $t => $title) {
        if (!empty(${$t})) {
            cob_include($t, [$t => ${$t}, 'title' => $title]);
        }
    }
    ?>
    </section>
<?php 
}
    <div class="cob-portalMain-container">
        <div     class="cob-portalSidebar" id="taxonomy-term-<?php 
echo $term->tid;
?>
">
            <nav class="cob-portalSidebar-nav">
                <?php 
if (isset($term->parent)) {
    $siblings = taxonomy_get_children($term->parent->tid);
} else {
    $categories = taxonomy_vocabulary_machine_name_load('categories');
    $siblings = taxonomy_get_tree($categories->vid, 0, 1);
}
foreach ($siblings as $t) {
    $options = ['html' => true];
    if ($term->tid === $t->tid) {
        $options['attributes'] = ['class' => ['current']];
    }
    echo l("<span class=\"title\">{$t->name}</span><span class=\"description\">{$t->description}</span>", 'taxonomy/term/' . $t->tid, $options);
}
?>
            </nav>
        </div>
        <?php 
cob_include('term_nodes', ['term' => $term]);
?>
    </div>
</main>
<?php 
include __DIR__ . '/partials/footer.inc';
include __DIR__ . '/partials/sectionTemplates.inc';
            <div class="cob-homeAnnouncements-news">
                <h2 class="cob-homeAnnouncements-heading">News Releases</h2>
                <?php 
$news = cob_recent_nodes('news_release');
$linkOptions = ['attributes' => ['class' => ['cob-homeAnnouncements-cta']]];
foreach ($news as $n) {
    $date = format_date($n->created, 'Date Month, Year');
    $link = l($n->title, "node/{$n->nid}");
    echo "\n                        <article class=\"cob-mainText\">\n                            <time>{$date}</time>\n                            <h1>{$link}</h1>\n                        </article>\n                        ";
}
echo l('City Newsroom', 'newsroom', $linkOptions);
?>
            </div>
            <div class="cob-homeAnnouncements-events">
                <?php 
cob_include('upcomingEvents--front', ['type' => 'something', 'calendarId' => '*****@*****.**']);
?>
            </div>
        </div>
    </section>
    <section class="cob-homeAbout">
        <div class="cob-homeAbout-container">
            <h1 class="cob-homeAbout-heading">A great place to live, work, and&nbsp;learn.</h1>
            <div class="cob-homeAbout-text">
                <p>Nestled in the rolling hills of southern Indiana, Bloomington is a loved city that boasts spectacular scenery, world-class educational institutions and unique shopping and dining experiences. Bloomington is a great place to live, work and play. Its unique character and friendly and safe environment are matched by few communities in the nation.</p>
                <p>While you're in Bloomington be sure to experience the city's character and all its sights, sounds and tastes. From shopping and museums to biking and art exhibitions, the activities available for all to enjoy are endless.</p>
                <?php 
echo l('About Bloomington', 'about', ['attributes' => ['class' => 'cob-homeAbout-link']]);
?>
            </div>
            <div class="cob-homeAbout-partners">