Skip to content

Commit

Permalink
Adjust the ce_teaser.html5 template
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed May 24, 2024
1 parent 3e27bb5 commit a62e072
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions core-bundle/contao/templates/elements/ce_teaser.html5
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ $this->wrapperAttributes = $this
->mergeWith($this->wrapperAttributes)
;

?>
$this->hl = 'h1';

<?php $this->block('headline'); ?>
<?php if ($this->headline): ?>
<h1><?= $this->headline ?></h1>
<?php endif; ?>
<?php $this->endblock(); ?>
?>

<?php $this->block('content'); ?>

<?= $this->text ?>
<p class="more"><a href="<?= $this->href ?>" title="<?= $this->readMore ?>"><?= $this->more ?><span class="invisible"> <?= $this->headline ?></span></a></p>

<?php $this->endblock(); ?>

0 comments on commit a62e072

Please sign in to comment.