Skip to content

Commit

Permalink
Remove the block around the canonical tag (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Nov 5, 2021
1 parent bdfcb55 commit cd936ea
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -13,11 +13,9 @@
<meta name="generator" content="Contao Open Source CMS">
<?php $this->endblock(); ?>

<?php $this->block('canonical'); ?>
<?php if ($this->canonical): ?>
<link rel="canonical" href="<?= $this->canonical; ?>">
<?php endif; ?>
<?php $this->endblock(); ?>
<?php if ($this->canonical): ?>
<link rel="canonical" href="<?= $this->canonical ?>">
<?php endif; ?>

<?= $this->viewport ?>
<?= $this->framework ?>
Expand Down

0 comments on commit cd936ea

Please sign in to comment.