diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2020-10-30 13:50:21 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2020-10-30 13:50:21 -0300 |
commit | 9e51f23a4786b523d3af4d6688b4c181f9aa273a (patch) | |
tree | 101f986526ff58b618306a85451e54feb49a98ea /upd8.js | |
parent | e658559ed7b64e3009f5c851ab45827596b5004d (diff) |
always show unreleased tracks album on homepage
Diffstat (limited to 'upd8.js')
-rw-r--r-- | upd8.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index de8b71d8..3589e7db 100644 --- a/upd8.js +++ b/upd8.js @@ -1133,7 +1133,8 @@ function writeMiscellaneousPages() { entries: (albumData .filter(album => album.isFanon) .reverse() - .slice(0, 7) + .slice(0, 6) + .concat([albumData.find(album => album.directory === C.UNRELEASED_TRACKS_DIRECTORY)]) .map(album => ({item: album}))), lazy: true })} |