kylemarsh / jekyll-gallery-generator

:ledger: Jekyll plugin to generate image galleries from directories
MIT License
8 stars 1 forks source link

Prevent sub-albums from showing up in gallery list #26

Open kylemarsh opened 9 years ago

kylemarsh commented 9 years ago

Currently we use page_type == "album" to determine if a page should be listed as an album in the gallery site's index.html (not directly part of the gallery generator plugin, but it's how we recommend users do it). With the addition of sub-albums, suddenly the sub-albums are appearing in that list.

We need to figure out the best way to determine if a page is a top-level album.