« get me outta code hell

newer albums go near the top - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-03-01 21:25:43 -0400
committerFlorrie <towerofnix@gmail.com>2020-03-01 21:25:43 -0400
commit8fa116680f4ac7b992fe1847963226a7c8b2ad40 (patch)
treeeb20ef3a97987218e97f89ced015b5a28e7d73b8 /upd8.js
parentb4fddee310a8f918698301702e93c46963cb6a64 (diff)
newer albums go near the top
Diffstat (limited to 'upd8.js')
-rw-r--r--upd8.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js
index ad7eb237..57605d17 100644
--- a/upd8.js
+++ b/upd8.js
@@ -628,7 +628,7 @@ function writeMiscellaneousPages(albumData, flashData) {
                     </div>
                     <h2>Fandom</h2>
                     <div class="grid-listing">
-                        ${albumData.filter(album => album.isFanon).map(album => fixWS`
+                        ${albumData.filter(album => album.isFanon).reverse().map(album => fixWS`
                             <a class="grid-item" href="${ALBUM_DIRECTORY}/${album.directory}/index.html" style="${getThemeString(album.theme)}">
                                 <img src="${getAlbumCover(album)}">
                                 <span>${album.name}</span>
@@ -638,7 +638,7 @@ function writeMiscellaneousPages(albumData, flashData) {
                     </div>
                     <h2>Official</h2>
                     <div class="grid-listing">
-                        ${albumData.filter(album => !album.isFanon).map(album => fixWS`
+                        ${albumData.filter(album => !album.isFanon).reverse().map(album => fixWS`
                             <a class="grid-item" href="${ALBUM_DIRECTORY}/${album.directory}/index.html" style="${getThemeString(album.theme)}">
                                 <img src="${getAlbumCover(album)}">
                                 <span>${album.name}</span>