« get me outta code hell

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:
Diffstat (limited to 'upd8.js')
-rwxr-xr-xupd8.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/upd8.js b/upd8.js
index fe1601a..2ca90fe 100755
--- a/upd8.js
+++ b/upd8.js
@@ -2387,6 +2387,15 @@ writePage.html = (pageFn, {paths, strings, to}) => {
         footerHTML
     ].filter(Boolean).join('\n');
 
+    const infoCardHTML = fixWS`
+        <div id="info-card-container">
+            <div class="info-card">
+                <h1 class="info-card-name"><a></a></h1>
+                <p class="info-card-album">${strings('releaseInfo.from', {album: '<a></a>'})}</p>
+            </div>
+        </div>
+    `;
+
     return filterEmptyLines(fixWS`
         <!DOCTYPE html>
         <html ${attributes({
@@ -2429,6 +2438,7 @@ writePage.html = (pageFn, {paths, strings, to}) => {
                     `}
                     ${layoutHTML}
                 </div>
+                ${infoCardHTML}
                 <script src="${to('shared.commonFile', `common.js?${CACHEBUST}`)}"></script>
                 <script src="${to('shared.staticFile', `client.js?${CACHEBUST}`)}"></script>
             </body>