Ensure URLs are opened in a new tab.
This commit is contained in:
1 parent
6324d4b0ca
commit
c605cc77e7
1 file changed
+1
@@ -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>
|
||||||
Reference in new issue
Block a user