summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/svg-raw.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/svg-raw.html')
-rw-r--r--layouts/shortcodes/svg-raw.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/svg-raw.html b/layouts/shortcodes/svg-raw.html
new file mode 100644
index 00000000..950c4f5d
--- /dev/null
+++ b/layouts/shortcodes/svg-raw.html
@@ -0,0 +1,3 @@
+{{- $file := .Get 0 }}
+{{- $path := printf "assets/content_images/%s" $file}}
+{{ $path | readFile | safeHTML }}