about summary refs log tree commit diff
path: root/layouts/partials/font-awesome.html
blob: 55bf1b187d4dcb3de737faf7b6ba058bd3eb53f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
<span class="inline-svg" title="{{ .network }}" aria-label="{{ .network }}">

{{ $dict := newScratch }}

{{ $dict.Set "svg" (partial (print "fa-icons/" .iconName ".svg")) }}

{{ $dict.Get "svg" | safeHTML }}

</span>