Add img-fluid class to image, gallery shortcode images

This commit is contained in:
Will Faught
2024-06-05 23:00:04 -07:00
parent a225e88c52
commit 62367fe043
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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