nicokaiser / hugo-theme-gallery

Gallery Theme for Hugo
https://nicokaiser.github.io/hugo-theme-gallery/
MIT License
371 stars 115 forks source link

Possible Feature Request: "featured_image: random" for random album cover on reload #86

Open woefi opened 2 months ago

woefi commented 2 months ago

Maybe it is already possible, but I did not see it yet:

I would like to put a little more "dynamic" into my static generated site ;) (...sorry)

So I'd like to set up a Featured Album that does not have a determined image as album cover (like featured_image: ), but instead randomly chooses one of the containing photos as a cover. Maybe even with a selectable interval (eg. on every reload, per day, per month)...

// Also, thank you so much for this theme! A limited version of my gallery is already online and running. I'm still learning so much...