summaryrefslogtreecommitdiffstats
path: root/content/stream
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
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 'content/stream')
-rw-r--r--content/stream/2022-07-25.md2
-rw-r--r--content/stream/2022-08-02.md (renamed from content/stream/2022-08-02/index.md)3
-rw-r--r--content/stream/2022_08_04.md2
-rw-r--r--content/stream/2022_08_11.md2
-rw-r--r--content/stream/2022_08_14.md3
-rw-r--r--content/stream/2023-10-21.md3
-rw-r--r--content/stream/2023_10_07.md4
-rw-r--r--content/stream/img/barrow_tesco_extra.jpg (renamed from content/stream/2022-08-02/barrow_tesco_extra.jpg)bin37718 -> 37718 bytes
8 files changed, 7 insertions, 12 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">}}
diff --git a/content/stream/2022-08-02/index.md b/content/stream/2022-08-02.md
index 0fe7e2f..2985882 100644
--- a/content/stream/2022-08-02/index.md
+++ b/content/stream/2022-08-02.md
@@ -7,5 +7,4 @@ tags: ['photos']
Barrow-in-Furness in August.
-![Barrow-in-Furness in the rain](barrow_tesco_extra.jpg)
-
+{{< streamimage filename="barrow_tesco_extra.jpg" >}}
diff --git a/content/stream/2022_08_04.md b/content/stream/2022_08_04.md
index f94b4bf..0016b25 100644
--- a/content/stream/2022_08_04.md
+++ b/content/stream/2022_08_04.md
@@ -11,4 +11,4 @@ We ate lunch at [The Barn at Beal](http://barnatbeal.com/).
Got home to find a bat in the sink, as detailed in the [cat kill log](../../blog/cats/cat_kills).
-{{< figure src="img/holy_island_pyramid.jpg" alt="Holy Island Pyramid" title="Holy Island pyramid thing" >}}
+{{< streamimage filename="holy_island_pyramid.jpg">}}
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">}}
diff --git a/content/stream/2022_08_14.md b/content/stream/2022_08_14.md
index 3db85e5..fa83355 100644
--- a/content/stream/2022_08_14.md
+++ b/content/stream/2022_08_14.md
@@ -5,7 +5,6 @@ draft: false
tags: ['berwick-upon-tweed', 'music']
---
-<!-- {{< figure src="../../img/swimmer_medal_border.png" alt="Grinning swimmer holding medal" >}} -->
{{< streamimage filename="swimmer_medal_border.png" >}}
I've had enough of BBC coverage of the European Championships (and latterly the Commonwealth Games). Too much positivity for my liking, it wears you down eventually.
@@ -20,6 +19,6 @@ Listening to: [Carbon Based Lifeforms](https://en.wikipedia.org/wiki/Carbon_Base
---
Went to Tesco today and filled a barrow two-thirds.
-{{< figure src="img/trolleys_blur.jpg" alt="Tesco barrows" >}}
+{{< streamimage filename="trolleys_blur.jpg" >}}
Exciting things happening parallel to the mundane, just not reportable.
diff --git a/content/stream/2023-10-21.md b/content/stream/2023-10-21.md
index 8da0d97..bb77a0a 100644
--- a/content/stream/2023-10-21.md
+++ b/content/stream/2023-10-21.md
@@ -7,9 +7,6 @@ tags: ["golf", "quicknotes", "cats"]
A [ginger cat](../blog/cats/cat_kills/#the-perpetrators) beneath a stool, sheltering from the rain:
-
-{{< figure src="img/cat_stool.jpg" >}}
-
{{< streamimage filename="cat_stool.jpg" >}}
---
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" >}}
diff --git a/content/stream/2022-08-02/barrow_tesco_extra.jpg b/content/stream/img/barrow_tesco_extra.jpg
index 29e6d8c..29e6d8c 100644
--- a/content/stream/2022-08-02/barrow_tesco_extra.jpg
+++ b/content/stream/img/barrow_tesco_extra.jpg
Binary files differ