commit e121cb427fb8fc4716069e972f374afb8bcc91f4
parent b49a0c1ae5061746ce382dab557bcee9fd3647be
Author: Radek KozieĊ‚ <radoslaw.koziel@gmail.com>
Date:   Fri,  9 Jun 2023 23:30:16 +0200

Merge pull request #439 from cizordj/patch-1

Update the image shortcode
Diffstat:
Mlayouts/shortcodes/image.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html @@ -1,3 +1,3 @@ {{ if .Get "src" }} - <img src="{{ .Get "src" | safeURL }}" {{ with .Get "alt" }} alt="{{ . | plainify }}" {{ end }} class="{{ with .Get "position"}}{{ . }}{{ else -}} left {{- end }}" {{ with .Get "style" }} style="{{ . | safeCSS }}" {{ end }} /> +<img src="{{ .Get "src" | safeURL }}" {{ with .Get "alt" }} alt="{{ . | plainify }}" {{ end }} class="{{ with .Get "position"}}{{ . }}{{ else -}} left {{- end }}" {{ with .Get "style" }} style="{{ . | safeCSS }}" {{ end }} {{ with .Get "width" }} width="{{ . | plainify }}" {{ end }} {{ with .Get "height" }} height="{{ . | plainify }}" {{ end }} /> {{ end }}