feat: Add Font Awesome icon shortcode

This commit is contained in:
Thomas A. Christensen II 2024-11-22 21:14:22 -06:00
parent 6a0c47ff96
commit ad071b32a0
Signed by: millironx
GPG key ID: B7044A3432851F64

View file

@ -0,0 +1,11 @@
{{- $faStyle := .Get 0 -}}
{{- $faName := .Get 1 -}}
{{- $isFullWidth := .Get 2 -}}
<i
class="
{{- $faStyle }}
fa-{{ $faName }}
{{- if eq $isFullWidth "yes" }}
fa-fw
{{ end -}}"
></i>