{{/* Partial used to include the JS for the gallery page's masonry layout. */}} {{ $masonry := resources.Get "js/masonry.min.js" }} {{ if hugo.IsProduction }} {{ $masonry = $masonry | fingerprint | resources.PostProcess }} {{ end }} {{ $imagesloaded := resources.Get "js/imagesloaded.min.js" }} {{ if hugo.IsProduction }} {{ $imagesloaded = $imagesloaded | fingerprint | resources.PostProcess }} {{ end }} {{ $site := resources.Get "js/gallery.js" }} {{ if hugo.IsProduction }} {{ $site = $site | minify | fingerprint | resources.PostProcess }} {{ end }}