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

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

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

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

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

      <?php if ($this->hasText || $this->hasTeaser): ?>
        <a class="more text-decoration-none hc-bg-white" href="<?= $this->link ?>"><?= $this->linkText !== '' ? $this->linkText : $GLOBALS['TL_LANG']['mateTheme']['continueReading'] ?></a>
      <?php endif; ?>
    </div>

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