Add 'unlisted' key

unlisted posts will still be put in the normal place but
not added to the gallery or rss feed
This commit is contained in:
Rhiannon Morris 2021-10-02 23:00:33 +02:00
parent e07e90ccd1
commit a8e5adb50d
3 changed files with 6 additions and 1 deletions

View file

@ -90,6 +90,7 @@ make' root (GalleryInfo {title, desc, prefix, filters, hidden}) infos = [b|@0
infosByYear =
[(the year, infopath) |
infopath@(_, info) <- infos,
not $ #unlisted info,
then sortInfo by info,
let year = #latestYear info nsfw,
then group by Down year using groupBy']