Help for creating gallery layout similar to bootstrap icons

Hi, I am currently trying to implement a hugo site similar to the one used by bootstrap icons for the FreeCAD Library.
I want to do an auto-incrementing grid showing multiple + being possible to click and open a modal window.

welcome here

i would recommend to show what you have and what problem is.

hugo is just a small part of that. the rest is htmm, css and maybe js…

please first spend some of your time reading:

https://discourse.gohugo.io/t/requesting-help/9132/2