diff options
Diffstat (limited to 'upd8.js')
-rw-r--r-- | upd8.js | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/upd8.js b/upd8.js index 4b365758..7a2887bd 100644 --- a/upd8.js +++ b/upd8.js @@ -509,15 +509,13 @@ async function writeTrackPage(track, albumData) { `).join('\n')} </ul> `} - <p>Listen:</p> - <ul> - ${track.urls.map(url => fixWS` - <li><a href="${url}">${ - url.includes('bandcamp.com') ? 'Bandcamp' : - url.includes('youtu') ? 'YouTube' : - '(External)' - }</a></li> - `)} + <p>Listen: ${joinNoOxford(track.urls.map(url => fixWS` + <a href="${url}">${ + url.includes('bandcamp.com') ? 'Bandcamp' : + url.includes('youtu') ? 'YouTube' : + '(External)' + }</a> + `))}</p> </ul> </div> </body> |