diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-12-28 17:29:07 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-12-28 17:30:20 -0400 |
commit | 5e156be05f4a2a0519e48eb970d0f05a6a12d46e (patch) | |
tree | dd920389e6282a3599995c510e517362aeafe019 /src/page | |
parent | 7b0f1ceb07a1219f20f6819ed57e5f47a51d15b1 (diff) |
montage -> carousel
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/homepage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/page/homepage.js b/src/page/homepage.js index 703c78fc..67b2c649 100644 --- a/src/page/homepage.js +++ b/src/page/homepage.js @@ -60,8 +60,8 @@ export function writeTargetless({wikiData}) { page: ({ getAlbumGridHTML, getAlbumCover, + getCarouselHTML, getLinkThemeString, - getMontageHTML, html, language, link, @@ -114,8 +114,8 @@ export function writeTargetless({wikiData}) { ...html.fragment( entry.type === 'albums' && - entry.displayStyle === 'montage' && [ - getMontageHTML({ + entry.displayStyle === 'carousel' && [ + getCarouselHTML({ items: entry.entries.map(e => e.item), lazy: i > 0, srcFn: getAlbumCover, |