web-personal/layouts/_default/_markup/render-link.html
Marc Riera Irigoyen 01e79c10cc Update to Goldmark
2020-05-31 18:29:23 +02: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>