summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-10-23 10:39:32 +0100
committerMatthew Lemon <y@yulqen.org>2023-10-23 10:39:32 +0100
commit4974bf7efe0a4428958679f6bdc7cc69dfc7291f (patch)
treeb988d405efc0e14f9fe32db655887066926d9bc2 /layouts/shortcodes
parentb18995684f5ef0d8fe0e8eb690bbc1c10c3690c5 (diff)
wip: continuing with the pagination work
Diffstat (limited to 'layouts/shortcodes')
-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 }}">