Supported a Jinja template for the gallery.
Merge pull request #7 from pelson/gallery_generator

Supported a Jinja template for the gallery.