Skip to content

Commit

Permalink
fix: use urls without schema
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreuss committed Jul 30, 2023
1 parent c92048a commit a04338b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/layouts/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ function gtag(){dataLayer.push(arguments);}
<div class="container container--breadcumbList">
<ol vocab="https://schema.org/" typeof="BreadcrumbList">
<li property="itemListElement" typeof="ListItem">
<a property="item" typeof="WebPage" href="<?= Url::home(true) ?>">
<a property="item" typeof="WebPage" href="<?= Url::home() ?>">
<span property="name">Startseite</span></a>
<meta property="position" content="1">
</li>
<?php foreach ($this->params['breadcrumbs'] as $itemCount => $item): ?>
<?php if (is_array($item)): ?>
<li property="itemListElement" typeof="ListItem">
<a property="item" typeof="WebPage" href="<?= Url::to($item['url'], true) ?>">
<a property="item" typeof="WebPage" href="<?= Url::to($item['url']) ?>">
<span property="name"><?= $item['label'] ?></span></a>
<meta property="position" content="<?= $itemCount + 2 ?>">
</li>
Expand Down

0 comments on commit a04338b

Please sign in to comment.