added curriculum section. Needs working.
[theme-danix.xyz.git] / layouts / shortcodes / svg.html
1 <span class="inline-svg{{ with .Get "class" }} {{ . }}{{ end }}">
2 {{- $fname := print "SVGs/" ( .Get "name" ) ".svg" -}}
3 {{ $icon := resources.Get $fname }}
4 {{ $icon.Content | safeHTML }}
5 </span>