diff options
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 |
commit | db8f05dfb49e0774ff8cc17252facde6248d455a (patch) | |
tree | 66d87f55179ee0b74688ba029dbb37c6bb5c7468 | |
parent | 54509b203a2119fa66c09bef6da4a2fccf8219e8 (diff) |
quick tweaks for site release (limit 4 icons per artist)
-rw-r--r-- | src/misc-templates.js | 7 | ||||
-rw-r--r-- | src/static/site3.css | 4 | ||||
-rwxr-xr-x | src/upd8.js | 2 |
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 { |