diff options
| -rw-r--r-- | content/posts/now-2026-spring/index.md | 3 | ||||
| -rw-r--r-- | content/posts/now-2026-summer/index.md | 2 | ||||
| -rw-r--r-- | templates_gmi/shortcodes/bandcamp_embed.html | 1 | ||||
| -rw-r--r-- | templates_html/shortcodes/bandcamp_embed.html | 1 |
4 files changed, 5 insertions, 2 deletions
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 -<iframe style="border: 0; width: 400px; height: 472px;" src="https://bandcamp.com/EmbeddedPlayer/album=2777761805/size=large/bgcol=ffffff/linkcol=0687f5/artwork=small/transparent=true/" seamless><a href="https://agriculturemusic.bandcamp.com/album/the-spiritual-sound">The Spiritual Sound by Agriculture</a></iframe> +{{ 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. -<iframe style="border: 0; width: 350px; height: 470px;" src="https://bandcamp.com/EmbeddedPlayer/album=2239340294/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/transparent=true/" seamless><a href="https://faetooth.bandcamp.com/album/labyrinthine">Labyrinthine by Faetooth</a></iframe> +{{ 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 @@ +<iframe style="border: 0; width: 350px; height: 470px;" src="https://bandcamp.com/EmbeddedPlayer/album={{ album_id }}/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/transparent=true/" seamless><a href="{{ album_url }}">{{ text }}</a></iframe> |
