Ensure URLs are opened in a new tab.

This commit is contained in:
2025-08-13 17:42:13 -07:00
parent 6324d4b0ca
commit c605cc77e7

View File

@@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "https") }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>