
<div class="layout_latest arc_<?= $this->archive->id ?> block<?= $this->class ?> col s12 m6">
  <div class="inner hc-bg-grey-dark">

    <?php if ($this->href): ?><a href="<?= $this->href ?>" title="<?= $this->linkTitle ?>"><?php endif; ?>

    <?php if ($this->addImage): ?>
      <figure class="image_container<?= $this->floatClass ?>"<?php if ($this->margin): ?> style="<?= $this->margin ?>"<?php endif; ?>>
        <?php $this->insert('picture_default', $this->picture); ?>

        <?php if ($this->caption): ?>
          <figcaption class="caption"><?= $this->caption ?></figcaption>
        <?php endif; ?>

        <?php if($this->subheadline != ""): ?>
          <div class="subheadline"><?= $this->subheadline ?></div>
        <?php endif; ?>

      </figure>
    <?php endif; ?>

    <div class="text">
      <?php $this->block('info'); ?>
      <p class="info"><time datetime="<?= $this->datetime ?>"><?= $this->date ?></time> <?= $this->author ?></p>
      <?php $this->endblock(); ?>

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

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

      <?php if ($this->hasText || $this->hasTeaser): ?>
        <span class="more text-decoration-none hc-bg-white">+</span>
      <?php endif; ?>
    </div>

    <?php if ($this->href): ?></a><?php endif; ?>

  </div>
</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());
}