mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-28 15:50:36 +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 -}}
|