Nice. Exactly what I needed. Lightbox and #hugo. Will -steal- copy that source and adapt to my needs 👍😁
Hugo themes have the option to override the default rendering of Markdown images by using “Markdown Render Hooks” since version 0.62.0. By creating a file in layouts/_default/_markup named render-image.html it is possible to use a custom template for rendered images. This gives a lot of flexibil...