Website/layouts/_default/_markup/render-link.html
Martin Gasque 0ba3f3c7c5 Initial commit
Will it deploy one day ?
2024-02-20 08:59:37 +01:00

1 line
193 B
HTML

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