blob: 1bf374d13637f0391e86e17d19b17a15f4f719f4 (
plain)
1
2
3
4
5
6
|
<div class="image-size-control" style="
{{- with (.Get "width") }}max-width: {{ . }};{{ end -}}
{{- with (.Get "height") }}max-height: {{ . }};{{ end -}}
">
{{ .Page.RenderString .Inner }}
</div>
|