tinytechbureau.com/themes/ttb/layouts/shortcodes/icon.html
2024-06-30 00:08:20 +02:00

5 lines
192 B
HTML

{{- if (.Get 1) -}}
<a href="{{ .Get 1 }}" title="click to open link"><span class="icon icon-{{ .Get 0 }}"></span></a>
{{- else -}}
<span class="icon icon-{{ .Get 0 }}"></span>
{{- end -}}