Skip to content

Commit 0c9413c

Browse files
author
Ben Zörb
committed
fix(media): renames variable
1 parent 6492d83 commit 0c9413c

File tree

1 file changed

+2
-2
lines changed
  • templates/theme-default/layouts/partials/components

1 file changed

+2
-2
lines changed

templates/theme-default/layouts/partials/components/c-image.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
{{- end -}}
2222
{{- end -}}
2323

24-
{{- $different_ratios := and $has_mobile $has_desktop -}}
24+
{{- $different_images := and $has_mobile $has_desktop -}}
2525

2626

2727
<figure class="c-image{{ range $modifier }} c-image--{{ . }}{{ end }}{{ with $class_name }} {{ . }}{{end}}">
28-
{{ if $different_ratios }}
28+
{{ if $different_images }}
2929
<picture class="c-image__asset">
3030
{{- partial "utils/asset/image/sources" (dict
3131
"globals" $globals

0 commit comments

Comments
 (0)