{{ $dict := newScratch }} {{ if (eq .iconName "github") }} {{ else if (eq .iconName "theme-dark" )}} {{ else if (eq .iconName "theme-light")}} {{ else if (eq .iconName "docs")}} {{ else if (eq .iconName "rss")}} {{ else }} {{ if (eq .custom true) }} {{ $dict.Set "svg" (readFile (print "static/fa-icons/" .iconName ".svg")) }} {{ else }} {{ $dict.Set "svg" (partial (print "fa-icons/" .iconName ".svg")) }} {{ end }} {{ end }} {{- $path:="