forked from laurens/fediversity_website
19 lines
639 B
HTML
19 lines
639 B
HTML
{{ if not .IsHome }}
|
|
<nav aria-label="Breadcrumbs">
|
|
<ol class="breadcrumb">
|
|
{{ range $index,$element := .Ancestors.Reverse }}
|
|
{{ if eq $index 0 }}
|
|
<li><img src="/afbeeldingen/iconen/home.svg" height="{{ .Site.Params.smallIconSize }}" width="{{ .Site.Params.smallIconSize }}" alt="{{ i18n "back_to_home" }}"> <a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
{{ else }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
<li class="active">
|
|
<a aria-current="page" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
{{ end }}
|