From 27e2bc6928666ced9a402f589e56e8fbc9f78f81 Mon Sep 17 00:00:00 2001 From: soaos Date: Tue, 25 Nov 2025 08:30:53 -0500 Subject: Album tree view on about page --- content/about.md | 8 ++-- data/albums.json | 81 +++++++++++++++++++++++++++++++++++ static/assets/music/batb.jpg | Bin 0 -> 24990 bytes static/assets/music/cwts.jpg | Bin 0 -> 38132 bytes static/style.css | 4 ++ templates/blog.html | 10 ++--- templates/macros.html | 4 +- templates/shortcodes/album_list.html | 16 +++++++ 8 files changed, 112 insertions(+), 11 deletions(-) create mode 100644 data/albums.json create mode 100644 static/assets/music/batb.jpg create mode 100644 static/assets/music/cwts.jpg create mode 100644 templates/shortcodes/album_list.html diff --git a/content/about.md b/content/about.md index 9a1e218..a1ca951 100644 --- a/content/about.md +++ b/content/about.md @@ -25,9 +25,11 @@ If you want to do something cool together, or just shoot the shit about whatever ### > 🎶 Music -I listen to a lot of different kinds of (rock) music. Recently I've been listening to a lot of post-hardcore, post-rock, and alternative rock. Big fan of prog too. Forgive me for reductively labeling these albums because I know a lot of them are way more complex than a narrow subgenre. +I listen to a lot of different kinds of (rock) music. Recently I've been listening to a lot of post-hardcore and post-rock. -#### > > Progressive Rock +{{ album_list() }} + + \ No newline at end of file diff --git a/data/albums.json b/data/albums.json new file mode 100644 index 0000000..9cb16f4 --- /dev/null +++ b/data/albums.json @@ -0,0 +1,81 @@ +{ + "albums": [ + { + "name": "867", + "artist": "This is the Glasshouse", + "genre": "Progressive Rock", + "cover": "867.png", + "release_group": "7787003b-444c-41d1-bfe2-1b0d3041afe7" + }, + { + "name": "wetdream", + "artist": "Willy Rodriguez", + "genre": "Alternative Rock", + "cover": "wetdream.png", + "release_group": "be0237d4-1aae-4573-8ccc-8de36cf6de9e" + }, + { + "name": "Collide with the Sky", + "artist": "Pierce the Veil", + "genre": "Post-Hardcore", + "cover": "cwts.jpg", + "release_group": "fbe216fc-3443-4425-8c99-e538b44e60ac" + }, + { + "name": "Blessed Are the Bonds", + "artist": "The Pax Cecilia", + "genre": "Post-Rock", + "cover": "batb.jpg", + "release_group": "bdf7c2e7-0433-3bee-ba8e-d89ca144ef3a" + }, + { + "name": "Lift Your Skinny Fists Like Antennas to Heaven!", + "artist": "Godspeed You! Black Emperor", + "genre": "Post-Rock", + "cover": "lysf.jpg", + "release_group": "3822abb6-ca53-3ae1-a4ec-7718cb321e9b" + }, + { + "name": "Departure Songs", + "artist": "We Lost the Sea", + "genre": "Post-Rock", + "cover": "departure_songs.jpg", + "release_group": "a23ddf04-b1e0-47e5-ae00-f09cbf7cecc5" + }, + { + "name": "Act II: The Meaning of, and All Things Regarding Ms. Leading", + "artist": "The Dear Hunter", + "genre": "Progressive Rock", + "cover": "act_ii.jpg", + "release_group": "c4dec823-cd7a-3967-9119-bee33bc7e5de" + }, + { + "name": "Good Apollo, I'm Burning Star IV, Volume One: From Fear Through the Eyes of Madness", + "artist": "Coheed and Cambria", + "genre": "Progressive Rock", + "cover": "apollo.jpg", + "release_group": "8fe00242-6d13-3f6a-a9d7-a3fec58ed631" + }, + { + "name": "jiminy", + "artist": "Bear Ghost", + "genre": "Progressive Rock", + "cover": "jiminy.jpg", + "release_group": "42f9e499-42be-4f26-b1f7-ec85a039b729" + }, + { + "name": "Twin Fantasy", + "artist": "Car Seat Headrest", + "genre": "Alternative Rock", + "cover": "twin_fantasy.jpg", + "release_group": "eeab54c6-ad8d-40c9-b595-87bae6a42397" + }, + { + "name": "Above the Earth, Below the Sky", + "artist": "If These Trees Could Talk", + "genre": "Post-Rock", + "cover": "atebts.jpg", + "release_group": "1c44567c-4015-3063-98db-e62cbd57e7a3" + } + ] +} \ No newline at end of file diff --git a/static/assets/music/batb.jpg b/static/assets/music/batb.jpg new file mode 100644 index 0000000..a6a81ec Binary files /dev/null and b/static/assets/music/batb.jpg differ diff --git a/static/assets/music/cwts.jpg b/static/assets/music/cwts.jpg new file mode 100644 index 0000000..0cca425 Binary files /dev/null and b/static/assets/music/cwts.jpg differ diff --git a/static/style.css b/static/style.css index ed6804d..dd9ca6a 100644 --- a/static/style.css +++ b/static/style.css @@ -194,3 +194,7 @@ margin-bottom: .5em; #statuscafe-content { margin: 0 1em 0.5em 1em; } + +.album-thumb { + width: 12rem; +} diff --git a/templates/blog.html b/templates/blog.html index f659571..ff44e08 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -15,18 +15,16 @@

Latest Posts