templates/buetow_2019/news_latest_custom.html5 line 50

Open in your IDE?
  1. <div class="layout_latest arc_<?= $this->archive->id ?> block<?= $this->class ?>" itemscope itemtype="http://schema.org/Article">
  2. <?php if ($this->addImage): ?>
  3.   <?php if(!$this->hasText) { $this->arrData['noLink'] = true; } ?>
  4.   <?php $this->insert('image_newslist'$this->arrData); ?>
  5. <?php endif; ?>
  6.   
  7.   <div class="news_content">
  8.     <h2 itemprop="name"><?php if ($this->hasText): ?><?= $this->linkHeadline ?><?php else: ?><?= $this->headline ?><?php endif ?></h2>
  9.     <?php if($this->teaser): ?>
  10.     <div class="ce_text block" itemprop="description">
  11.       <?= $this->teaser ?>
  12.     </div>
  13.     <?php endif; ?>
  14.     <?php if ($this->hasText): ?>
  15.     <p class="more">
  16.     <?php if ($this->source=='external'): ?>
  17.       <a href="<?= $this->link ?>" target="_blank" title="Extern: <?= $this->newsHeadline ?>" class="<?= $this->source ?> red plus" itemprop="url">Externer Link</a>
  18.     <?php else: ?>
  19.       <a href="<?= $this->link ?>" title="Den Beitrag lesen: <?= $this->newsHeadline ?>" class="<?= $this->source ?> red plus" itemprop="url">Beitrag weiterlesen...</a>
  20.     <?php endif; ?>
  21.     </p>
  22.     <?php endif; ?>
  23.     <div class="meta_informations">
  24.     
  25.       <?php if ($this->categories): ?>
  26.       <ul class="categories">
  27.         <?php foreach ($this->categories as $category): ?>
  28.         <li class="icon-globe <?= $category['class'?>">
  29.           <?php if ($category['image']): ?>
  30.           <figure class="image_container">
  31.             <?php $this->insert('picture_default'$category['image']->picture?>
  32.           </figure>
  33.           <?php endif; ?>
  34.           <?php if ($category['href']): ?>
  35.           <a href="<?= $category['href'?>" title="<?= $category['linkTitle'?>"><?= $category['name'?></a>
  36.           <?php else: ?>
  37.           <span><?= $category['name'?></span>
  38.           <?php endif; ?>
  39.         </li>
  40.         <?php endforeach; ?>
  41.       </ul>
  42.       <?php endif; ?>
  43.       <?php if ($this->hasMetaFields): ?>
  44.       <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>
  45.       <?php endif; ?>
  46.     </div>
  47.   </div>
  48. </div>