lvra.gitlab.io/layouts/shortcodes/icon.html

2 lines
130 B
HTML

{{ $icon := index site.Data.icons (lower (.Get "name")) | safeHTML }}
{{ if $icon }}{{ $icon | safeHTML }}{{ else }}🯄{{ end }}