hugo-theme-hilfe/layouts/shortcodes/icon.html
Robert Kaussow b104d6ac70
refactor: rename class .icon to .gdoc-icon (#379)
BREAKING CHANGE: The class `.icon` was renamed to `.gdoc-icon` to avoid conflicts.
2022-04-18 20:33:23 +02:00

5 lines
123 B
HTML

{{ $id := .Get 0 }}
{{- with $id -}}
<svg class="gdoc-icon {{ . }}"><use xlink:href="#{{ . }}"></use></svg>
{{- end -}}