mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-18 03:00:42 +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 -}}
|