discover/web/themes/hugo-geekdoc/layouts/shortcodes/icon.html

6 lines
123 B
HTML
Raw Normal View History

2023-09-24 22:41:28 +00:00
{{ $id := .Get 0 }}
{{- with $id -}}
<svg class="gdoc-icon {{ . }}"><use xlink:href="#{{ . }}"></use></svg>
{{- end -}}