We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7d036 commit a5be882Copy full SHA for a5be882
layouts/partials/shortcodes/image.html
@@ -24,10 +24,6 @@
24
{{- if $dest_url.RawQuery }}
25
{{- $classes = (replaceRE "\\s+" " " (replaceRE "," " " ($dest_url.Query.Get "classes") ) ) }}
26
{{- $featherlight = (ne ($dest_url.Query.Get "featherlight") "false") }}
27
- {{- if or ($dest_url.Query.Get "height") ($dest_url.Query.Get "width") }}
28
- {{- $height = "auto" }}
29
- {{- $width = "auto" }}
30
- {{- end }}
31
{{- with $dest_url.Query.Get "height" }}
32
{{ $height = . }}
33
{{- end }}
0 commit comments