You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
1.3 KiB

  1. <div class="layout_latest arc_<?= $this->archive->id ?> block<?= $this->class ?>">
  2. <a href="<?= $this->link ?>">
  3. <div class="spwn-head">
  4. <p class="category"><?php foreach ($this->categories as $category): ?><?php echo $category['title']; ?><?php endforeach; ?></p>
  5. <?php if ($this->hasMetaFields): ?>
  6. <p class="info"><time datetime="<?= $this->datetime ?>"><?= date("d. m. Y",$this->tstamp) ?></time> <?= $this->author ?> <?= $this->commentCount ?></p>
  7. <?php endif; ?>
  8. </div>
  9. <?php if ($this->addImage): ?>
  10. <figure class="image_container">
  11. <img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" />
  12. </figure>
  13. <?php endif; ?>
  14. <h3><?= $this->headline ?></h3>
  15. <div class="ce_text block">
  16. <?= $this->teaser ?>
  17. </div>
  18. <?php if ($this->hasText || $this->hasTeaser): ?>
  19. <p class="more">{{iflng::de*}}weiterlesen{{iflng::en*}}continue reading{{iflng::fr*}}continuer la lecture{{iflng::es*}}sigue leyendo{{iflng::it*}}continua a leggere{{iflng}}</p>
  20. <?php endif; ?>
  21. </a>
  22. </div>
  23. <?php
  24. // This template is used as a news list template by default, so we only add
  25. // JSON-LD data in case this is a news article without a reader
  26. if (!$this->hasReader) {
  27. $this->addSchemaOrg($this->getSchemaOrgData());
  28. }