diff options
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/group.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/page/group.js b/src/page/group.js index 26230b45..6bfd1532 100644 --- a/src/page/group.js +++ b/src/page/group.js @@ -190,12 +190,14 @@ export function write(group, {wikiData}) { {class: 'grid-listing'}, getAlbumGridHTML({ entries: sortChronologically( - group.albums.map(album => ({ - item: album, - directory: album.directory, - name: album.name, - date: album.date, - })) + group.albums + .filter(album => album.isListedInGalleries) + .map(album => ({ + item: album, + directory: album.directory, + name: album.name, + date: album.date, + })) ).reverse(), details: true, })), |