You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
250 B
4 lines
250 B
<a href={{ .Destination | safeURL }}
|
|
{{ if strings.HasPrefix .Destination "mailto" -}} target="_blank" {{end}}
|
|
{{ if strings.HasPrefix .Destination "http" -}} target="_blank" rel="noopener noreferrer" {{- end }}
|
|
>{{ .Text | safeHTML }}</a>
|