cyberstammtisch-silverstripe/themes/starter/templates/BreadcrumbsTemplate.ss

19 lines
655 B
Scheme
Raw Normal View History

2021-10-20 11:45:30 +00:00
<% if $Pages %>
<nav role="navigation" aria-label="<%t CWP_Search.BREADCRUMBS "Breadcrumbs" %>">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="$BaseHref">
<%t SiteTree.DEFAULTHOMETITLE "Home" %>
</a>
</li>
<% loop $Pages %>
<% if $Last %>
<li class="breadcrumb-item active">$MenuTitle.XML</li>
<% else %>
<li class="breadcrumb-item"><a href="$Link">$MenuTitle.XML</a></li>
<% end_if %>
<% end_loop %>
</ol>
</nav>
<% end_if %>