How can I categories images in assets folder on a gallery.md page.
I have 4 folders in assets/images/tavern:
assets>images>tavern>outside (27 images)
assets>images>tavern>inside (48 images)
assets>images>tavern>kitchen (52 images)
assets>images>tavern>staff (17 images)
these are the 4 folders I currently put these images in assets so I can convert images to webp and resize.
adding front matter for each image in gallery.md page takes alot of time for each gallery
how can you define categories for an image folder directly instead of defining for each image
currently I am using the
with $value.Params to get the
.category defined in front matter. Is this the recommend way of doing in Hugo or there is some built in functionality which can categories without having to define in front matter?