I do it a bit like you Neil.
I have a template folder with 60 HTML files in it, each is a gallery page. I just re-use he same code for all the galleries.
I have little batch program that alters all the target URL's in the files within the folder to point at where I've hosted the images for that gallery.
It's not flashy but it is really simple, like me

.