diff options
author | Matthew Lemon <y@yulqen.org> | 2023-10-23 15:05:16 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-10-23 15:05:16 +0100 |
commit | b970808bccebdbd102ef5f2337c74f3c2f99d1e9 (patch) | |
tree | 6d5f04ccffe154650e4fafd7419b370f67de25c6 /content/stream/2023_10_07.md | |
parent | 4bcbdbc1c2480128b6c992c46597c977c7d57797 (diff) |
Pagination of stream complete with working images
To include an image in the stream, you have to use the streamimage
shortcode, e.g.
{{< streamimage filename="bobbins.jpg" >}}
bobbins.jpg must be saved in content/stream/img.
You can include a "size" param in the shortcode (a string as number),
which is translated as a height attribute in the img html tag.
Diffstat (limited to '')
-rw-r--r-- | content/stream/2023_10_07.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/stream/2023_10_07.md b/content/stream/2023_10_07.md index 726bc6c..2b53f49 100644 --- a/content/stream/2023_10_07.md +++ b/content/stream/2023_10_07.md @@ -9,7 +9,7 @@ Absolutely pissing with rain here in Berwick since about 7pm last night, and for This is how it looks to Open AI - considerably brighter than reality but quite a nice little scene: -{{<figure src="img/berwick-upon-tweed--northumberland--united-kingdom--october-7-at-9-17-am--light-rain.jpg" >}} +{{< streamimage filename="berwick-upon-tweed--northumberland--united-kingdom--october-7-at-9-17-am--light-rain.jpg" >}} --- @@ -24,5 +24,5 @@ Updated the [Programming](../about/programming) page with an update on my latest Scotland are playing Ireland in the World Cup tonight. Barely able to contain the dread. -{{<figure src="img/stomping_war_propoganda.png" height=600px >}} +{{< streamimage filename="stomping_war_propoganda.png" size="400" >}} |