Don't open links in new tab
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sam A. 2022-05-24 01:46:06 +02:00
parent f8bfa1c74f
commit d2519151c0

View file

@ -1 +1 @@
<a rel="noopener noreferrer" href="{{ .Destination | safeURL }}" {{ with .Title }} title="{{ . }}" {{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" {{ end }}>{{ .Text }}</a> <a rel="noopener noreferrer" href="{{ .Destination | safeURL }}" {{ with .Title }} title="{{ . }}" {{ end }}>{{ .Text }}</a>