diff options
author | Florrie <towerofnix@gmail.com> | 2019-11-13 16:46:38 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-11-13 16:46:38 -0400 |
commit | 0e23ee4b4d885cd78a71af80db7692d42353298f (patch) | |
tree | 2d159a20b5b415573f646720cb3c7fde74c26f7c | |
parent | a1e7f28c9ef78e8930c0763c1e201800a815b122 (diff) |
instead of ul joinNoOxford list of listening links
-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> |