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/2022-07-25.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/2022-07-25.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/stream/2022-07-25.md b/content/stream/2022-07-25.md index e0dbab6..6fbf364 100644 --- a/content/stream/2022-07-25.md +++ b/content/stream/2022-07-25.md @@ -18,4 +18,4 @@ Added an [email address](mailto:y@yulqen.org) to the [About](../about) page, jus Boris thinks it is his right to enter our house to eat Bob's food. Boris lives with a tortoisehell cat called Maggie who often visits. She is similarly entitled. -{{< figure src="img/bob_boris_web.jpg" title="Bob and Boris">}} +{{< streamimage filename="bob_boris_web.jpg">}} |