portails/layouts/_default/_markup/render-link.html

1 line
203 B
HTML
Raw Normal View History

2020-04-15 15:48:16 +02:00
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noreferrer noopener"{{ end }}>{{ .Text | safeHTML }}</a>