mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-11 17:31:12 +01:00
8 lines
355 B
HTML
8 lines
355 B
HTML
<a href="{{ .href | safeURL }}"{{ with .title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .href "http" }} target="_blank"{{ end }} rel="noopener noreffer{{ with .rel }} {{ . }}{{ end }}">
|
|
{{- with .icon -}}
|
|
{{- partial "plugin/icon.html" . -}}
|
|
{{- end -}}
|
|
{{- with .content -}}
|
|
{{- . | safeHTML -}}
|
|
{{- end -}}
|
|
</a>
|