mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-16 01:40:43 +00:00
Robert Kaussow
b104d6ac70
BREAKING CHANGE: The class `.icon` was renamed to `.gdoc-icon` to avoid conflicts.
6 lines
123 B
HTML
6 lines
123 B
HTML
{{ $id := .Get 0 }}
|
|
|
|
{{- with $id -}}
|
|
<svg class="gdoc-icon {{ . }}"><use xlink:href="#{{ . }}"></use></svg>
|
|
{{- end -}}
|