Add img-fluid class to image, gallery shortcode images
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
{{ range $resources }}
|
{{ range $resources }}
|
||||||
{{ partial "paige/image.html" (dict
|
{{ partial "paige/image.html" (dict
|
||||||
"breakpoints" $breakpoints
|
"breakpoints" $breakpoints
|
||||||
"class" $class
|
"class" (printf "img-fluid %s" $class)
|
||||||
"densities" $densities
|
"densities" $densities
|
||||||
"fetchpriority" $fetchpriority
|
"fetchpriority" $fetchpriority
|
||||||
"height" $height
|
"height" $height
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
{{ range $resources }}
|
{{ range $resources }}
|
||||||
{{ partial "paige/image.html" (dict
|
{{ partial "paige/image.html" (dict
|
||||||
"breakpoints" $breakpoints
|
"breakpoints" $breakpoints
|
||||||
"class" $class
|
"class" (printf "img-fluid %s" $class)
|
||||||
"densities" $densities
|
"densities" $densities
|
||||||
"fetchpriority" $fetchpriority
|
"fetchpriority" $fetchpriority
|
||||||
"height" $height
|
"height" $height
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
{{ partial "paige/image.html" (dict
|
{{ partial "paige/image.html" (dict
|
||||||
"alt" $alt
|
"alt" $alt
|
||||||
"breakpoints" $breakpoints
|
"breakpoints" $breakpoints
|
||||||
"class" $class
|
"class" (printf "img-fluid %s" $class)
|
||||||
"densities" $densities
|
"densities" $densities
|
||||||
"fetchpriority" $fetchpriority
|
"fetchpriority" $fetchpriority
|
||||||
"height" $height
|
"height" $height
|
||||||
|
Reference in New Issue
Block a user