Add modal images?

128 Views Asked by At

Is it possible to add modal images to a blog post? In case is relevant, I'm using the Vimux/Mainroad theme.

1

There are 1 best solutions below

0
On

Yes, it is. Hugo pages all become HTML in the end, so anything you can do in HTML, you can do with Hugo. To make it work, your theme needs code for modal images in its template, CSS, and JavaScript files. It doesn't look like the Mainroad theme supports modal images yet, so you (or someone else) will need to edit it.