« get me outta code hell

Additional Files styling improvements - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-18 16:26:48 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-18 16:26:48 -0300
commit474704fac9104cf3ec5425cb84dad7203555dd96 (patch)
treeba396f4b398b4b339aa7fb13c7492db32b37ba85 /src/page
parentebded2fc40c3ff2faead343b9f68d768e6db2c32 (diff)
Additional Files styling improvements
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 76c9c5f0..ec994ebb 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -220,13 +220,6 @@ export function write(album, {wikiData}) {
                                 ${album.tracks.map(trackToListItem).join('\n')}
                             </${listTag}>
                         `}
-                        ${hasAdditionalFiles && generateAdditionalFilesList(album.additionalFiles, {
-                            // TODO: Kinda near the metal here...
-                            getFileSize: file => getSizeOfAdditionalFile(urls
-                                .from('media.root')
-                                .to('media.albumAdditionalFile', album.directory, file)),
-                            linkFile: file => link.albumAdditionalFile({album, file}),
-                        })}
                         ${album.dateAddedToWiki && fixWS`
                             <p>
                                 ${[
@@ -236,6 +229,13 @@ export function write(album, {wikiData}) {
                                 ].filter(Boolean).join('<br>\n')}
                             </p>
                         `}
+                        ${hasAdditionalFiles && generateAdditionalFilesList(album.additionalFiles, {
+                            // TODO: Kinda near the metal here...
+                            getFileSize: file => getSizeOfAdditionalFile(urls
+                                .from('media.root')
+                                .to('media.albumAdditionalFile', album.directory, file)),
+                            linkFile: file => link.albumAdditionalFile({album, file}),
+                        })}
                         ${album.commentary && fixWS`
                             <p>${language.$('releaseInfo.artistCommentary')}</p>
                             <blockquote>