If I want to create a photoblog it would be handy if I could generate HTML pages from image files containting XMP metadata (like Title and DateTimeOriginal). Creating markdown or HTML pages to use as input seems like an unnecessary step when the data is already in the image files.
Hugo can read EXIF, but not XMP or IPTC. You could use something like exiftool before each build to copy from one field to another (e.g., some XMP field to the EXIF ImageDescription field). Your photo management app may do that already, or may be configurable.
Assuming the data you want is available in the EXIF tags, then yes, you can generate pages from this data. There are a couple of approaches.
exiftool can do this recursively over a directory structure with a single command, and it is very fast. ↩︎