<?php $this->layout('layout::default', ['title' => sprintf("%s's %s", $year, count($awardees) > 1 ? 'awardees' : 'awardee')]) ?>
<section class="awardees">
    <?php foreach ($awardees as $awardee): ?>
        <a class="awardee" href="<?= $this->url('awardee', ['slug' => $awardee->getSlug()]) ?>">
            <img class="profile" src="<?= $this->serverurl(sprintf('/img/awardees/%s.jpg', $awardee->getSlug())) ?>">
            <div class="year"><?= $year ?></div>
            <div class="name"><?= $awardee->getName() ?></div>
            <div class="description"><?= $this->batch($awardee->getText(), 'excerpt|mdtohtml') ?></div>
        </a>
    <?php endforeach; ?>
</section>
