PaperModX/layouts/shortcodes/image-size-control.html

7 lines
193 B
HTML
Raw Normal View History

2022-05-05 09:49:21 +01:00
<div class="image-size-control" style="
{{- with (.Get "width") }}max-width: {{ . }};{{ end -}}
{{- with (.Get "height") }}max-height: {{ . }};{{ end -}}
2022-05-05 09:49:21 +01:00
">
{{ .Inner | markdownify }}
</div>