update Permalink to RelPermalink (#16033)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
97cf15bdb2
commit
bbaf0163b5
@@ -32,10 +32,10 @@
|
||||
{{ $p := . }}
|
||||
{{ if (isset .Params.card "anchors") }}
|
||||
{{ range .Params.card.anchors }}
|
||||
<li><a href="{{ $p.Permalink }}{{ .anchor }}">{{ .title }}</a></li>
|
||||
<li><a href="{{ $p.RelPermalink }}{{ .anchor }}">{{ .title }}</a></li>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<li><a href={{ .Permalink }}>
|
||||
<li><a href="{{ .RelPermalink }}">
|
||||
{{ if (isset .Params.card "title") }}{{ .Params.card.title }}{{ else }}{{ .LinkTitle }}{{ end }}
|
||||
</a></li>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user