summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/shortcodes/image-size-control.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/image-size-control.html b/layouts/shortcodes/image-size-control.html
index 679aae7..d0f8d62 100644
--- a/layouts/shortcodes/image-size-control.html
+++ b/layouts/shortcodes/image-size-control.html
@@ -1,5 +1,6 @@
<div class="image-size-control" style="
{{- with (.Get "width") }}max-width: {{ . }};{{ end -}}
+{{- with (.Get "fixedWidth") }}width: {{ . }};{{ end -}}
{{- with (.Get "height") }}height: {{ . }};{{ end -}}
">
{{ .Page.RenderString .Inner }}