<?php $this->extend('block_searchable'); ?>

<?php $this->block('content'); ?>

  <h1 class="bg-light mb-2 p-3 w-100"><?= $this->subject ?></h1>

  <div class="newsletter w-100 p-3">
    <?= $this->content ?>
  </div>

  <?php if ($this->enclosure): ?>
    <ul class="list-group">
      <?php foreach ($this->enclosure as $enclosure): ?>
        <li class="list-group-item ext-<?= $enclosure['extension'] ?>">
           <a href="<?= $enclosure['href'] ?>" title="<?= $enclosure['title'] ?>"><?= $enclosure['link'] ?> <span class="size">(<?= $enclosure['filesize'] ?>)</span></a>
        </li>
      <?php endforeach; ?>
    </ul>
  <?php endif; ?>

  <!-- indexer::stop -->
  <p class="back p-3"><a href="<?= $this->referer ?>" title="<?= $this->back ?>" class="btn btn-secondary"><?= $this->back ?></a></p>
  <!-- indexer::continue -->

<?php $this->endblock(); ?>
