add fixedWith for image-size-control
This commit is contained in:
parent
e309c7a17d
commit
5a324267dc
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue