Joel's Travels in Bosnia & Herzegovina, Europe

Here’s an example for multiple images that uses Bootstrap’s card columns for a Masonry-like layout. It’s not perfect, but with some careful ordering of the images, you can get some good results. This example also shows some Liquid tags used in conjunction with frontmatter variables to automatically create your layout.

To automate the layout, a list of images is stored in a frontmatter variable. The post then loops over that list to output the cards. This is easier than copy-pasting the same HTML for each image.

Here’s the card columns in action.

Other places I've Travelled in Europe:

Share your thoughts on: 'Joel's Travels in Bosnia & Herzegovina, Europe':

πŸ‘€ Looking for more content?

There's plenty more content to explore: