danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
working on social icons presentation. Still needs some heavy lifting.
[theme-danix.xyz.git]
/
layouts
/
shortcodes
/
svg.html
diff --git a/layouts/shortcodes/svg.html
b/layouts/shortcodes/svg.html
new file mode 100644
(file)
index 0000000..
64ee2b4
--- /dev/null
+++ b/
layouts/shortcodes/svg.html
@@ -0,0
+1,4
@@
+<span class="inline-svg" >
+{{- $fname:=print "../SVGs/" ( .Get 0 ) ".svg" -}}
+{{ $fname | readFile | safeHTML }}
+</span>
\ No newline at end of file