From 62367fe0435e922f0cd4b75287ee81d8b77f150e Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 5 Jun 2024 23:00:04 -0700 Subject: [PATCH] Add img-fluid class to image, gallery shortcode images --- layouts/shortcodes/paige/gallery.html | 4 ++-- layouts/shortcodes/paige/image.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/paige/gallery.html b/layouts/shortcodes/paige/gallery.html index 1a664ba4..5d3bef34 100644 --- a/layouts/shortcodes/paige/gallery.html +++ b/layouts/shortcodes/paige/gallery.html @@ -51,7 +51,7 @@ {{ range $resources }} {{ partial "paige/image.html" (dict "breakpoints" $breakpoints - "class" $class + "class" (printf "img-fluid %s" $class) "densities" $densities "fetchpriority" $fetchpriority "height" $height @@ -77,7 +77,7 @@ {{ range $resources }} {{ partial "paige/image.html" (dict "breakpoints" $breakpoints - "class" $class + "class" (printf "img-fluid %s" $class) "densities" $densities "fetchpriority" $fetchpriority "height" $height diff --git a/layouts/shortcodes/paige/image.html b/layouts/shortcodes/paige/image.html index a68c14b2..d79ac533 100644 --- a/layouts/shortcodes/paige/image.html +++ b/layouts/shortcodes/paige/image.html @@ -21,7 +21,7 @@ {{ partial "paige/image.html" (dict "alt" $alt "breakpoints" $breakpoints - "class" $class + "class" (printf "img-fluid %s" $class) "densities" $densities "fetchpriority" $fetchpriority "height" $height