{{ $id := .Get 0 }} {{- with $id -}} <svg class="gdoc-icon {{ . }}"><use xlink:href="#{{ . }}"></use></svg> {{- end -}}