8 lines
242 B
HTML
8 lines
242 B
HTML
<a href="{{ .Destination | safeURL }}"
|
|
{{ with .Title}} title="{{ . }}"{{ end }}
|
|
{{ if strings.HasPrefix .Destination "http" }}
|
|
target="_blank" rel="external nofollow noopener noreferrer"
|
|
{{ end }}>
|
|
{{ .Text | safeHTML }}
|
|
</a>
|