mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 09:14:10 +01:00
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
|
|
@ -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…
Reference in a new issue