summaryrefslogtreecommitdiffstats
path: root/content/stream/2022_08_11.md
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-10-23 15:05:16 +0100
committerMatthew Lemon <y@yulqen.org>2023-10-23 15:05:16 +0100
commitb970808bccebdbd102ef5f2337c74f3c2f99d1e9 (patch)
tree6d5f04ccffe154650e4fafd7419b370f67de25c6 /content/stream/2022_08_11.md
parent4bcbdbc1c2480128b6c992c46597c977c7d57797 (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_08_11.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/stream/2022_08_11.md b/content/stream/2022_08_11.md
index f00f1b2..30e55a5 100644
--- a/content/stream/2022_08_11.md
+++ b/content/stream/2022_08_11.md
@@ -10,4 +10,4 @@ Leaving Shetland today.
This is the coastline at the northwestern corner of the Shetland mainland at Eshaness. Couldn't stay long as the children were scared of the cliffs!
-{{< figure src="img/shetland_coast.jpg" alt="Shetland coastline at Eshaness" title="Shetland coastline at Eashaness" >}}
+{{< streamimage filename="shetland_coast.jpg">}}