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.
This commit is contained in:
parent
1399cdfd5c
commit
97f8e1248b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue