make removal of gallery/project tiles optional when filters selected

This commit is contained in:
lightling 2024-05-04 00:44:44 -04:00
parent 1d7c8dd8a2
commit 2190ecf571
4 changed files with 12 additions and 3 deletions

View file

@ -95,4 +95,10 @@ export type GalleryList = {
* the tags to use for filtering entries
*/
tags?: EntryTagCollection
/**
* whether or not tag filtering removes entries completely from view;
* if false, they will apply a class selector instead
* in order to manually style (CSS filtering/opacity/etc.)
*/
removeFromView?: boolean
}

View file

@ -43,4 +43,5 @@ export type ProjectList = {
content: string
}}
tags?: EntryTagCollection
removeFromView?: boolean
}