parent
05c9cca7c4
commit
2a3d6d5cfb
@ -0,0 +1,12 @@
|
||||
{{{ if breadcrumbs.length }}}
|
||||
<ol class="breadcrumb mb-0" itemscope="itemscope" itemprop="breadcrumb" itemtype="http://schema.org/BreadcrumbList">
|
||||
{{{ each breadcrumbs }}}
|
||||
<li{{{ if @last }}} component="breadcrumb/current"{{{ end }}} itemscope="itemscope" itemprop="itemListElement" itemtype="http://schema.org/ListItem" class="breadcrumb-item {{{ if @last }}}active{{{ end }}}">
|
||||
<meta itemprop="position" content="{@index}" />
|
||||
{{{ if ./url }}}<a href="{./url}" itemprop="item">{{{ end }}}
|
||||
<span class="fw-semibold" itemprop="name">{./text}</span>
|
||||
{{{ if ./url }}}</a>{{{ end }}}
|
||||
</li>
|
||||
{{{ end }}}
|
||||
</ol>
|
||||
{{{ end }}}
|
Loading…
Reference in New Issue