Theme: Use RelPermalink everywhere
This commit is contained in:
parent
8ffc773367
commit
80a9b0a2d3
6 changed files with 9 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
{{ with $page }}
|
||||
<header>
|
||||
{{- if $headingLink }}<a href="{{ .Permalink }}">{{ end }}
|
||||
{{- if $headingLink }}<a href="{{ .RelPermalink }}">{{ end }}
|
||||
<h{{ $level }}>{{ .Title }}</h{{ $level }}>
|
||||
{{- if $headingLink }}</a>{{ end }}
|
||||
{{- with .Params.subtitle }}
|
||||
|
@ -22,7 +22,7 @@
|
|||
{{- with .Page.GetTerms "tags" }}
|
||||
<span class="li-space"><i class="fa-solid fa-tag"></i>
|
||||
{{- range . }}
|
||||
<span class="li-comma"><a href="{{ .Permalink }}">{{ .Title }}</a></span>
|
||||
<span class="li-comma"><a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
|
||||
{{- end }}
|
||||
</span>
|
||||
{{- end }}
|
||||
|
@ -32,7 +32,7 @@
|
|||
{{- with .Page.GetTerms "authors" }}
|
||||
<span class="li-space"><i class="fa-regular fa-user"></i>
|
||||
{{- range . }}
|
||||
<span class="li-comma"><a href="{{ .Permalink }}">{{ .Title }}</a></span>
|
||||
<span class="li-comma"><a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
|
||||
{{- end }}
|
||||
</span>
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue