Attempt to fix broken breadcrumb links

Apparently this is a bug when canonifyURLs = true, which is a required option
to fix relative urls on spec pages.
pull/977/head
Andrew Morgan 4 years ago committed by Richard van der Hoff
parent 1399cdfd5c
commit 97f8e1248b

@ -23,6 +23,6 @@
{{ end }}
{{ $isActive := eq .p1 .p2 }}
<li class="breadcrumb-item{{ if $isActive }} active{{ end }}" {{ if $isActive }}aria-current="page"{{ end }}>
<a href="{{ .p1.Permalink }}">{{ .p1.LinkTitle }}</a>
<a href="{{ .p1.RelPermalink }}">{{ .p1.LinkTitle }}</a>
</li>
{{ end }}

Loading…
Cancel
Save