1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-03-11 14:58:02 -05:00

9 lines
276 B
HTML
Raw Normal View History

<a
href="{{ .Destination | safeURL }}"
2021-11-20 18:30:26 -06:00
{{ with .Title }}title="{{ . }}"{{ end }}
{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}
>
{{- .Text | safeHTML -}}
</a>
2021-11-20 18:30:26 -06:00
{{- /* This comment gets rid of the trailing newline. */ -}}