
<div class="layout_latest arc_<?= $this->archive->id ?> block<?= $this->class ?>">
	<a href="<?= $this->link ?>">
		<div class="spwn-head">
			<p class="category"><?php foreach ($this->categories as $category): ?><?php echo $category['title']; ?><?php endforeach; ?></p>

			<?php if ($this->hasMetaFields): ?>
				<p class="info"><time datetime="<?= $this->datetime ?>"><?= date("d. m. Y",$this->tstamp) ?></time> <?= $this->author ?> <?= $this->commentCount ?></p>
			<?php endif; ?>
		</div>

		<?php if ($this->addImage): ?>
			<figure class="image_container">
				<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" />
			</figure>
		<?php endif; ?>

		<h3><?= $this->headline ?></h3>

		<div class="ce_text block">
			<?= $this->teaser ?>
		</div>

		<?php if ($this->hasText || $this->hasTeaser): ?>
			<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>
		<?php endif; ?>
	</a>
</div>

<?php

// This template is used as a news list template by default, so we only add
// JSON-LD data in case this is a news article without a reader
if (!$this->hasReader) {
$this->addSchemaOrg($this->getSchemaOrgData());
}
