mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-23 13:40:39 +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 -}}
|