Skip to content

Commit a56c769

Browse files
committed
allow to custom style img
1 parent f9fffdc commit a56c769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/img.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
{{- end -}}
77
{{- end -}}
88

9-
<img src="{{ $src }}" alt="{{ .Get "alt" }}" class="{{ .Get "class" }}" />
9+
<img src="{{ $src }}" alt="{{ .Get "alt" }}" style="{{ .Get "style" }}" class="{{ .Get "class" }}" />

0 commit comments

Comments
 (0)