Skip to content

Commit 23bfaa2

Browse files
committed
chore: update to serene v5.5.0
The figure shortcode no longer has a `via` attribute. Instead, the `caption` attribute now supports Markdown, so you can pass a link like `[via](...)`. This makes the shortcode override obsolute, so I deleted it.
1 parent 72e6987 commit 23bfaa2

4 files changed

Lines changed: 3 additions & 19 deletions

File tree

content/blog/2023-08-06-ptr-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ If you have any questions, feel free to comment on [my post](https://users.rust-
167167

168168
Cheers!
169169

170-
{{ figure(src = "https://www.rustacean.net/assets/rustacean-flat-happy.svg", alt = "Ferris the crab, Rust's unofficial mascot, smiling", caption = "Ferris the happy crab", via = "https://rustacean.net/", width = "200rem") }}
170+
{{ figure(src = "https://www.rustacean.net/assets/rustacean-flat-happy.svg", alt = "Ferris the crab, Rust's unofficial mascot, smiling", caption = "Ferris the happy crab", caption = "[via](https://rustacean.net/)", width = "200rem") }}

content/blog/2025-09-09-bevys-5th-birthday.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Now the idea of a Bevy CLI has been around for quite some time, with [an issue o
2828

2929
So...
3030

31-
{{ figure(src = "/img/2025-09-09-bevys-5th-birthday/nerd-sniping.png", alt = "A comic panel of a truck running someone over", caption = "I was thoroughly nerd-sniped", via = "https://xkcd.com/356/") }}
31+
{{ figure(src = "/img/2025-09-09-bevys-5th-birthday/nerd-sniping.png", alt = "A comic panel of a truck running someone over", caption = "I was thoroughly nerd-sniped, [via](https://xkcd.com/356/)") }}
3232

3333
## Thankfully I Did Not Get Run Over by a Truck[^1]
3434

templates/shortcodes/figure.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)