summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/streamimage.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/streamimage.html')
-rw-r--r--layouts/shortcodes/streamimage.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/streamimage.html b/layouts/shortcodes/streamimage.html
new file mode 100644
index 0000000..eb5d468
--- /dev/null
+++ b/layouts/shortcodes/streamimage.html
@@ -0,0 +1,3 @@
+{{ $filename := .Get "filename" }}
+{{ $scratch := .Scratch }}
+<img src="{{$scratch.Get "imgpath" }}/{{ $filename }}">