From 40e999583bd2b69798da1403f45bcc73fcf88f7d Mon Sep 17 00:00:00 2001 From: Tony Wasserka <> Date: Sun, 22 Sep 2024 11:15:12 +0200 Subject: [PATCH] Fix relative links to pages containing ":" --- layouts/_default/_markup/render-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index d095c271..50f89e91 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,5 +1,5 @@ {{- if (not (or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "#"))) }} - {{- with .Text }}{{ . }}{{ end -}}