diff --git a/layouts/shortcodes/image-gallery.html b/layouts/shortcodes/image-gallery.html new file mode 100644 index 0000000..76b7e92 --- /dev/null +++ b/layouts/shortcodes/image-gallery.html @@ -0,0 +1,37 @@ +{{/* https://hugocodex.org/add-ons/image-gallery/ */}} +{{/* +Add this to your config yaml to serve images from `static/albums`` + +module: + mounts: + source: static/albums + target: assets/albums + + +*/}} + + +{{ $dir := string .Params.gallery_dir }} +