This article shows how to use the gallery shortcode.

Configuration

You’ll need to enable masonry on params.toml(global) or front matter.

1masonry = true
1masonry: true
1{
2   "masonry": true
3}

Usage

1{{< gallery images="images/foo.png,images/bar.png" >}}