2022-07-01 04:47:10 +01:00
|
|
|
{{- $width := .Get 1 }}
|
|
|
|
{{- $height := .Get 2 }}
|
|
|
|
<figure class="center align-center">
|
|
|
|
<div class="image-size-control" style="
|
|
|
|
{{- with $width }}max-width: {{ . }};{{ end -}}
|
2022-08-10 18:18:18 +01:00
|
|
|
{{- with $height }}height: {{ . }};{{ end -}}
|
2022-07-01 04:47:10 +01:00
|
|
|
">
|
|
|
|
{{ .Page.RenderString .Inner }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<figcaption><p>{{ .Get 0 | markdownify }}</p></figcaption>
|
|
|
|
</figure>
|