From e7b1baedf2dcb7e2b5179225ed118fdd56fda568 Mon Sep 17 00:00:00 2001 From: Jan Sydänviita Date: Wed, 26 Aug 2026 17:59:51 +0300 Subject: Fix bandcamp embed in gemini --- content/posts/now-2026-spring/index.md | 3 ++- content/posts/now-2026-summer/index.md | 2 +- templates_gmi/shortcodes/bandcamp_embed.html | 1 + templates_html/shortcodes/bandcamp_embed.html | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 templates_gmi/shortcodes/bandcamp_embed.html create mode 100644 templates_html/shortcodes/bandcamp_embed.html diff --git a/content/posts/now-2026-spring/index.md b/content/posts/now-2026-spring/index.md index bea7591..16d3662 100644 --- a/content/posts/now-2026-spring/index.md +++ b/content/posts/now-2026-spring/index.md @@ -76,7 +76,8 @@ I really enjoyed their music in 2025, but I won't be supporting them anymore. ### Top tunes - +{{ bandcamp_embed(album_id="2777761805", album_url="https://agriculturemusic.bandcamp.com/album/the-spiritual-sound", text="The Spiritual Sound by Agriculture") }} + ## This website diff --git a/content/posts/now-2026-summer/index.md b/content/posts/now-2026-summer/index.md index acd2328..bca2ac3 100644 --- a/content/posts/now-2026-summer/index.md +++ b/content/posts/now-2026-summer/index.md @@ -100,7 +100,7 @@ Me and Juuso (aka [Blek](https://blekmusik.bandcamp.com/album/m-rkret-efter-solu I've been digging this doom metal outfit called Faetooth lately. - +{{ bandcamp_embed(album_id="2239340294", album_url="https://faetooth.bandcamp.com/album/labyrinthine", text="Labyrinthine by Faetooth") }} ## Anime & movies diff --git a/templates_gmi/shortcodes/bandcamp_embed.html b/templates_gmi/shortcodes/bandcamp_embed.html new file mode 100644 index 0000000..39ab2d0 --- /dev/null +++ b/templates_gmi/shortcodes/bandcamp_embed.html @@ -0,0 +1 @@ +=> {{ album_url }} {{ text }} diff --git a/templates_html/shortcodes/bandcamp_embed.html b/templates_html/shortcodes/bandcamp_embed.html new file mode 100644 index 0000000..cce5644 --- /dev/null +++ b/templates_html/shortcodes/bandcamp_embed.html @@ -0,0 +1 @@ + -- cgit v1.3