diff options
author | Matthew Lemon <y@yulqen.org> | 2023-10-23 13:17:55 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-10-23 13:17:55 +0100 |
commit | 4bcbdbc1c2480128b6c992c46597c977c7d57797 (patch) | |
tree | 82b401aa30184fa1ee05b7651720f199230691ad /layouts/shortcodes | |
parent | 4974bf7efe0a4428958679f6bdc7cc69dfc7291f (diff) |
wip: more on pagination - trying to understand .Scratch
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/streamimage.html | 6 |
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 }}"> |