{{/* - adding a bootstrap 4 carousel - call it with {{< gallery2 id="blabla" >}} with id being an, well, id... unique - loads all images within the gallery directory inside of the post directory - @todo make the foldername configurable - @todo add responsive image sizes from img2 */}} {{ $galleryid := .Get "id" }} {{ $images := $.Page.Resources.Match "gallery/*" }}