Theme: Use RelPermalink everywhere

This commit is contained in:
jtbx 2023-11-04 22:26:11 +01:00
commit 80a9b0a2d3
6 changed files with 9 additions and 9 deletions

View file

@ -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 }}