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