theme: Use Path for the glossary link destination

See #3261
This commit is contained in:
Bjørn Erik Pedersen
2025-11-03 17:40:42 +01:00
parent acd6c29540
commit b8df9d9411
+1 -1
View File
@@ -39,7 +39,7 @@ shortcode.
{{- $destination = $u.String }}
{{- else }}
{{- with site.GetPage $u.Path }}
{{- $destination = .RelPermalink }}
{{- $destination = .Path }}
{{- else }}
{{- errorf "The %q shortcode was unable to find the reference link %s: see %s" $.Name . $p.String }}
{{- end }}