mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
8 lines
397 B
HTML
8 lines
397 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 .class }} class="{{ . }}"{{ end }}>
|
|
{{- with .icon -}}
|
|
{{- partial "plugin/icon.html" . -}}
|
|
{{- end -}}
|
|
{{- with .content -}}
|
|
{{- . | safeHTML -}}
|
|
{{- end -}}
|
|
</a>
|