Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kdevo/osprey-delight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/sections/gallery/img.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sections/gallery/img.html b/layouts/partials/sections/gallery/img.html
index 2adc500..46c8e8e 100644
--- a/layouts/partials/sections/gallery/img.html
+++ b/layouts/partials/sections/gallery/img.html
@@ -2,7 +2,7 @@
{{ $imgSize := default "500x" .Site.Params.Image.Gallery.resize }}
{{ $lqipSize := default "6x" .Site.Params.Image.Gallery.resizeLQIP }}
{{ $useLQIP := default true .Site.Params.Image.Gallery.useLQIP }}
-{{ $resizeOptions := default "MitchellNetravali q85" .Site.Params.Image.Gallery.resizeOptions }}
+{{ $resizeOptions := default "MitchellNetravali q85" (default .Page.Params.resizeOptions .Site.Params.Image.Gallery.resizeOptions) }}
{{ with .Params.image -}}
{{ with (resources.Get .) -}}
{{ $image := .Resize (printf "%s %s" $imgSize $resizeOptions) }}