summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-10-23 13:17:55 +0100
committerMatthew Lemon <y@yulqen.org>2023-10-23 13:17:55 +0100
commit4bcbdbc1c2480128b6c992c46597c977c7d57797 (patch)
tree82b401aa30184fa1ee05b7651720f199230691ad /layouts/shortcodes
parent4974bf7efe0a4428958679f6bdc7cc69dfc7291f (diff)
wip: more on pagination - trying to understand .Scratch
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/streamimage.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/shortcodes/streamimage.html b/layouts/shortcodes/streamimage.html
index eb5d468..2ff9f0a 100644
--- a/layouts/shortcodes/streamimage.html
+++ b/layouts/shortcodes/streamimage.html
@@ -1,3 +1,5 @@
{{ $filename := .Get "filename" }}
-{{ $scratch := .Scratch }}
-<img src="{{$scratch.Get "imgpath" }}/{{ $filename }}">
+
+<!-- <p>{{ $.Page.Params.draft }}</p> -->
+<p>{{ .Scratch.Get "toss" }}</p>
+<img src="../../img/{{ $filename }}">