Skip to content

Commit 40e9995

Browse files
author
Tony Wasserka
committed
Fix relative links to pages containing ":"
1 parent 3755839 commit 40e9995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/_markup/render-link.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if (not (or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "#"))) }}
2-
<a href="/3dbrew/{{ .Destination }}"
2+
<a href="/3dbrew/{{ strings.Replace .Destination ":" "" }}"
33
{{- with .Title }} title="{{ . }}"{{ end -}}
44
>
55
{{- with .Text }}{{ . }}{{ end -}}

0 commit comments

Comments
 (0)