1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-04-07 02:24:02 -05:00

9 lines
231 B
HTML

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