
<?php /*if ($this->header): ?>
  <div class="header<?= $this->classHeader ?>">
    <?php if ($this->firstDay): ?><span class="day"><?= $this->firstDay ?>, </span><?php endif; ?><span class="date"><?= $this->firstDate ?></span>
  </div>
<?php endif; */ ?>

<div class="event layout_list<?= $this->classUpcoming ?> col s12 m6">

  <div class="inner hc-bg-grey-dark">
	  <div class="text">
      <h2><?= $this->title ?></h2>

		  <p class="time"><time datetime="<?= $this->datetime ?>" class="hc-bg-black-ter"><?= str_replace("–"," – ",$this->date) ?><?php if ($this->time): ?>, <?= $this->time ?><?php endif; ?></time></p>

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

		  <?php if ($this->hasDetails): ?>
		  	<a class="more" href="<?= $this->href ?>"><?= $this->more ?></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());
}