mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 12:50:40 +00:00
Robert Kaussow
5e105c9ff4
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
6 lines
116 B
HTML
6 lines
116 B
HTML
{{ $id := .Get 0 }}
|
|
|
|
{{- with $id -}}
|
|
<svg class="icon {{ . }}"><use xlink:href="#{{ . }}"></use></svg>
|
|
{{- end -}}
|