mirror of
https://gitee.com/butubb8/blowfish.git
synced 2025-12-05 14:17:50 +08:00
11 lines
259 B
HTML
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>
|