diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-03 15:06:11 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-03 15:06:11 -0300 |
commit | ccfced9e328749059262b8b4bb2671b33cccd98d (patch) | |
tree | 2a9aece3c24ea78a1bf26894a3d61d1bae1c0ae8 /src/content/dependencies | |
parent | 9f9945232c01bd4f3c2afdd59a5fc4f661ed3f68 (diff) |
content: generateArtTagGalleryPage: minor tweaks
cover arts -> artworks, add lazy to cover grid
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateArtTagGalleryPage.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtTagGalleryPage.js b/src/content/dependencies/generateArtTagGalleryPage.js index 269f1b8a..c37fe710 100644 --- a/src/content/dependencies/generateArtTagGalleryPage.js +++ b/src/content/dependencies/generateArtTagGalleryPage.js @@ -122,7 +122,7 @@ export default { html.tag('p', {class: 'quick-info'}, language.$('tagPage.infoLine', { - coverArts: language.countCoverArts(data.numArtworks, { + coverArts: language.countArtworks(data.numArtworks, { unit: true, }), })), @@ -143,6 +143,7 @@ export default { .slots({ links: relations.links, names: data.names, + lazy: 12, classes: data.onlyFeaturedIndirectly.map(onlyFeaturedIndirectly => |