Skip to content

Commit 97f8e12

Browse files
anoadragon453richvdh
authored andcommitted
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.
1 parent 1399cdf commit 97f8e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/breadcrumb.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
{{ end }}
2424
{{ $isActive := eq .p1 .p2 }}
2525
<li class="breadcrumb-item{{ if $isActive }} active{{ end }}" {{ if $isActive }}aria-current="page"{{ end }}>
26-
<a href="{{ .p1.Permalink }}">{{ .p1.LinkTitle }}</a>
26+
<a href="{{ .p1.RelPermalink }}">{{ .p1.LinkTitle }}</a>
2727
</li>
2828
{{ end }}

0 commit comments

Comments
 (0)