1
Fork 0
theorangeone.net-legacy/layouts/partials/breadcrumbs/item.html
Jake Howard 4540196dee
Use relative links where possible
So the dead link checker can check internal links
2018-02-04 13:08:48 +00:00

7 lines
292 B
HTML

{{ if .page.Parent }}{{ if not .page.Parent.IsHome }}
{{ partial "breadcrumbs/item.html" (dict "page" .page.Parent "current" .current) }}
{{ end }}{{ end }}
{{ if ne .page .current }}
<li class="breadcrumb-item"><a href="{{ .page.RelPermalink }}">{{ .page.LinkTitle }}</a></li>
{{ end }}