README
# /content/music/ — how to add a track or album
Every music track becomes a page at `/music/{slug}/` and an item in
the `/music/feed` RSS. Albums live at `/music/albums/{slug}/`.
## Track file — `content/music/{slug}.md`
```markdown
---
title: "The Room That Required Less of You"
type: single # or "album-track"
album: awakening # album slug, optional
spotifyTrackId: "4uLU6hMCjMI75M1A2tKUQC" # 22-char Spotify ID
spotifyShareUrl: "https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC"
appleMusicUrl: "https://music.apple.com/us/album/…"
youtubeMusicUrl: "https://music.youtube.com/watch?v=…"
soundcloudUrl: "https://soundcloud.com/nikitadatar/…"
coverPath: "/images/music/the-room-that-required-less.png" # 1000×1000
releaseDate: "2026-01-15"
duration: "3:42"
tags: ["ambient", "piano", "trauma-healing"]
lyrics: |
(optional — full lyrics as multi-line markdown)
inspiredBy:
bookSlug: the-life-that-is-already-yours
chapterSlug: chapter-2 # optional
relatedPodcastSlug: episode-3-the-first-room # optional
relatedVideoSlug: walking-the-room # optional
---
The story behind the song. This markdown body renders as the "Story
Behind" section on the track page. Write it like a mini-essay — the
essay/chapter the track was inspired by, what you heard when you
wrote it, what you hope it accompanies.
```
## Album file — `content/music/albums/{slug}.md`
```markdown
---
title: "The Awakening"
spotifyAlbumId: "6dTUYVIJyRPLXCBZfJXcx7"
spotifyShareUrl: "https://open.spotify.com/album/6dTUYVIJyRPLXCBZfJXcx7"
appleMusicUrl: "https://music.apple.com/us/album/…"
coverPath: "/images/music/awakening.png" # 1000×1000 album art
releaseDate: "2026-01-15"
tracks: # array of track slugs
- the-room-that-required-less
- the-first-conclusion
- what-arrived-before-you-did
description: "Seven ambient piano tracks written alongside Part One of The Life That Is Already Yours."
---
Album story — optional. Renders as the "Story Behind" section on the
album page.
```
## Where to find the Spotify track/album ID
Open the track or album in Spotify → click the three-dot menu →
Share → Copy Song Link (or Album Link). The URL will look like
`https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC?si=…` — the
part after `/track/` and before `?` is the ID.
## Cover art
- Album covers: `1000×1000` PNG saved as `/images/music/{slug}.png`
- Track covers: same, or share the album cover
## After you add a file
- `/music/` refreshes automatically (no rebuild needed — feed uses `force-dynamic`)
- `/music/{slug}/` renders on first visit
- `/music/feed` RSS picks it up on next poll
- The Latest Release rail on the homepage picks up the newest release