Files
blowfish/layouts/_default/_markup/render-link.html
Nuno Coração f2e224a042 pretty run
2025-06-17 23:17:26 +01:00

11 lines
259 B
HTML

<a
href="{{ .Destination | safeURL }}"
{{- with .Title -}}
title="{{ . }}"
{{- end }}
{{- if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }}
target="_blank"
{{ end }}>
{{- .Text | safeHTML -}}
</a>