« get me outta code hell

quick tweaks for site release (limit 4 icons per artist) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-04-14 00:53:55 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-14 00:53:55 -0300
commitdb8f05dfb49e0774ff8cc17252facde6248d455a (patch)
tree66d87f55179ee0b74688ba029dbb37c6bb5c7468 /src
parent54509b203a2119fa66c09bef6da4a2fccf8219e8 (diff)
quick tweaks for site release (limit 4 icons per artist)
Diffstat (limited to 'src')
-rw-r--r--src/misc-templates.js7
-rw-r--r--src/static/site3.css4
-rwxr-xr-xsrc/upd8.js2
3 files changed, 6 insertions, 7 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 867193c7..b7c64597 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -104,9 +104,9 @@ function unbound_getArtistString(artists, {
             class: 'icons'
           },
           language.formatUnitList(
-            urls.map(url => iconifyURL(url, {language}))));
+            urls.slice(0, 4).map(url => iconifyURL(url, {language}))));
 
-      return (
+      return html.tag('span', {class: 'nowrap'},
         (hasContribPart
           ? (hasExternalPart
               ? language.$('misc.artistLink.withContribution.withExternalLinks', {
@@ -125,8 +125,7 @@ function unbound_getArtistString(artists, {
                 })
               : language.$('misc.artistLink', {
                   artist: artistLink,
-                })))
-      );
+                }))));
     }));
 }
 
diff --git a/src/static/site3.css b/src/static/site3.css
index 80624758..3ebe782d 100644
--- a/src/static/site3.css
+++ b/src/static/site3.css
@@ -1537,12 +1537,12 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content
     z-index: 2;
   }
 
-  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:not(:nth-child(n+10)) {
+  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:not(:nth-child(n+7)) {
     flex-basis: 23%;
     margin: 15px;
   }
 
-  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:nth-child(n+10) {
+  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:nth-child(n+7) {
     flex-basis: 18%;
     margin: 10px;
   }
diff --git a/src/upd8.js b/src/upd8.js
index 9fff67cc..9f54b3bb 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -87,7 +87,7 @@ import FileSizePreloader from './file-size-preloader.js';
 
 const __dirname = path.dirname(fileURLToPath(import.meta.url));
 
-const CACHEBUST = 19;
+const CACHEBUST = 20;
 
 let COMMIT;
 try {