Photo posts on my blog are going to break for a bit, as the range .Params.photos code I needed to work right now works right. What am I doing? I’m changing the Hugo code for my photo posts so that I can upload photos on the go using Sunlit but still have my posts publish using the figure and figcaption code I like to have in place.


Addenda

  1. So, this works, except that I’ve yet to determine if it’s possible for me to get height and width parameters into the img tag. I’m not sure where you’d get them from, since the photo itself would have one set of them but when Micro.blog generates its own img tags it creates images height and width based upon the theme’s content width, I think.