summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/image-size-control.html
blob: 310f43663b4a6ceea0fbbd74234f95e05bd9b1fe (plain)
1
2
3
4
5
6
<div class="image-size-control" style="
{{- with (.Get "width") }}width: {{ . }};{{ end -}}
{{- with (.Get "height") }}height: {{ . }};{{ end -}}
">
  {{ .Inner | markdownify }}
</div>