templates/buetow_2019/news_full_custom.html5 line 10

Open in your IDE?
  1. <div class="layout_full<?= $this->class ?>" itemscope itemtype="http://schema.org/Article">
  2.   <div class="headline_wrapper">
  3.     <h1 itemprop="name"><?= $this->newsHeadline ?></h1>
  4.     <?php if ($this->hasSubHeadline): ?>
  5.       <h2 itemprop="headline"><?= $this->subHeadline ?></h2>
  6.     <?php endif; ?>
  7.     <?php if ($this->hasMetaFields): ?>
  8.       <p class="info icon-clock"><time datetime="<?= $this->parseDate("d.m.Y"$this->timestamp?>" itemprop="datePublished"><?= $this->parseDate("d.m.Y"$this->timestamp?></time> <?= $this->author ?> <?= $this->commentCount ?></p>
  9.       <!-- <p class="info"><time datetime="<?= $this->datetime ?>" itemprop="datePublished"><?= $this->date ?></time> <?= $this->author ?> <?= $this->commentCount ?></p> -->
  10.     <?php endif; ?>
  11.   </div>
  12.   <?php if ($this->hasText): ?>
  13.     <div class="content_wrapper row">
  14.       <?= $this->text ?>
  15.     </div>
  16.   <?php else: ?>
  17.     <div class="ce_text block">
  18.       <?php if (!$this->addBefore): ?>
  19.         <?= $this->teaser ?>
  20.       <?php endif; ?>
  21.       <?php if ($this->addImage): ?>
  22.         <?php $this->insert('image'$this->arrData); ?>
  23.       <?php endif; ?>
  24.       <?php if ($this->addBefore): ?>
  25.         <?= $this->teaser ?>
  26.       <?php endif; ?>
  27.     </div>
  28.   <?php endif; ?>
  29.   <?php if ($this->enclosure): ?>
  30.     <ul class="enclosure">
  31.       <?php foreach ($this->enclosure as $enclosure): ?>
  32.         <li class="download-element ext-<?= $enclosure['extension'?>">
  33.            <a href="<?= $enclosure['href'?>" title="<?= $enclosure['title'?>"><?= $enclosure['link'?> <span class="size">(<?= $enclosure['filesize'?>)</span></a>
  34.         </li>
  35.       <?php endforeach; ?>
  36.     </ul>
  37.   <?php endif; ?>
  38. </div>