Don't open links in new tab
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sam A. 2022-05-24 01:46:06 +02:00
parent f8bfa1c74f
commit d2519151c0
1 changed files with 1 additions and 1 deletions

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>