This site is made with 11ty.
npm install
npm run dev
Music data is saved inside _data/music.json
in the following format:
{
"title": "Secret Places",
"id": "secret-places",
"cover_art_description": "A bunch of hanging light bulbs viewed from a slightly lowered angle. The title of the song/album is below.",
"links": [
{
"title": "SoundCloud",
"url": "https://soundcloud.com/stefanbohacek/secret-places?in=stefanbohacek/sets/mixtape"
},
{
"title": "Bandcamp",
"url": "https://stefanbohacek.bandcamp.com/track/secret-places"
},
{
"title": "Bandwagon",
"url": "https://bandwagon.fm/66e38b044c86ea48ed036c27"
},
{
"title": "Mirlo",
"url": "https://mirlo.space/stefan/release/secret-places"
}
]
}
The id
of the song will be used to fetch the MP3 song file and cover art.
/assets/covers/{{ song.id }}.png
/assets/audio/{{ song.id }}.mp3
cover_art_description
is optional, but highly recommended.