website/layouts/shortcodes/imgwwidth.html

2 lines
93 B
HTML

<img src='{{ .Get "src" }}' alt='{{ .Get "alt" }}' style='max-width: {{ .Get "width" }};' />