tinytechbureau.com/themes/ttb/layouts/shortcodes/icon.html

5 lines
192 B
HTML
Raw Normal View History

2024-06-29 22:08:20 +00:00
{{- 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 -}}