Files
huell/layouts/_default/_markup/render-link.html
2025-08-05 21:47:38 +02:00

10 lines
217 B
HTML

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