👩💻 Join our community of thousands of amazing developers!
After the last post, I thought I was finished with my Hugo/Lightbox image gallery, but there was one more thing I didn’t like: the filenames generated by Hugo’s image processing. As a reminder, my current image gallery shortcode (including image captions from EXIF data and overlaying images with a logo) looks like this: {{ $logo := resources.Get "img/overlay-logo.png" }} {{ $image := (.Page.Resources.ByType "image") }} {{ with $image }} {{ range . }} {{ $resized := .Fill "150x115 q20" }} {{ $...