feat: give releases and tracks their own pages
Albums were three hardcoded cards. An album is a chrnx_release term now, with cover, status and listening links; its archive is the album page with an ordered tracklist. A song is a post carrying lyrics and notes, its track number, and the audio. The player is a native audio element, no library and no JavaScript. Platform icons render only when a URL exists, so nothing points at a service the release is not on yet. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
13 files changed
+867
-16
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "chrnx/release-detail",
|
||||
"version": "0.2.0",
|
||||
"title": "Release Detail",
|
||||
"category": "theme",
|
||||
"description": "Album cover, listening links, and the ordered tracklist.",
|
||||
"textdomain": "chrnx",
|
||||
"attributes": {
|
||||
"headingLevel": { "type": "integer", "default": 2, "enum": [2, 3, 4, 5, 6] }
|
||||
},
|
||||
"supports": { "html": false },
|
||||
"render": "file:./render.php"
|
||||
}
|
||||
Reference in new issue
Block a user