html

Shortcode - An image with a caption

February 26, 2024  -   2 mins read time -   263 words -  garrardkitchen

shortcode, caption, html, hugo, image

I had an article I wanted to post but knew with the number of images I planned on including, it will look unsightly. The first idea I had to make it less so, was to indent the image to break up the page a little. The next idea I had was to include a caption under each image. Knowing that HTML has an element called figure, I decided to use this. ...