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 6492d83 commit 0c9413cCopy full SHA for 0c9413c
templates/theme-default/layouts/partials/components/c-image.html
@@ -21,11 +21,11 @@
21
{{- end -}}
22
23
24
-{{- $different_ratios := and $has_mobile $has_desktop -}}
+{{- $different_images := and $has_mobile $has_desktop -}}
25
26
27
<figure class="c-image{{ range $modifier }} c-image--{{ . }}{{ end }}{{ with $class_name }} {{ . }}{{end}}">
28
- {{ if $different_ratios }}
+ {{ if $different_images }}
29
<picture class="c-image__asset">
30
{{- partial "utils/asset/image/sources" (dict
31
"globals" $globals
0 commit comments