danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
fixed issues with images not showing up in header on single articles. Gallery and...
[theme-danix.xyz.git]
/
layouts
/
shortcodes
/
svg.html
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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>