This folder contains the audio files used by the music player on the website.
d:\Imperfect Hosts\github\imperfect-hosts\assets\audio\# Copy a file from another location
copy "C:\path\to\your\song.mp3" "d:\Imperfect Hosts\github\imperfect-hosts\assets\audio\song.mp3"
The playlist is configured in _layouts/default.html (around line 468-493).
Currently expecting these files:
spare-change.mp3loading-dock-lullaby.mp3rents-due.mp3breakroom-daydreams.mp3To change the tracks in the playlist:
_layouts/default.htmltracks array (around line 468)const tracks = [
{
title: "Your Song Title",
artist: "Imperfect Hosts",
duration: "3:45", // Format: MM:SS
src: "/assets/audio/your-filename.mp3"
},
// Add more tracks...
];
my-song.mp3)You can also use external URLs instead of local files:
src: "https://example.com/your-song.mp3"
This is useful if you host your music on: