I think I found the DRYest way to handle images and image captions for a multilingual website with Hugo. Here is the updated article:
The problems addressed are:
- How to change an image and its captions with minimal amount of edits (think of a web page in four languages)
- How to minimize the probability of image and caption mismatch, which can lead to quite hilarious incidents.
- How to re-use the same image and captions as a single ‘composite resource’ in several parts of a website - think of main article and a teaser on the front page.
I would appreciate your feedback, suggestions for improvements in particular.