@@ -51,11 +51,10 @@
{{ if and $program.Params.image $options.image }}
- {{ partial "commons/image.html"
- (dict
- "image" $program.Params.image
- "sizes" site.Params.image_sizes.blocks.programs
- ) }}
+ {{ partial "commons/image.html" (dict
+ "image" $program.Params.image
+ "sizes" site.Params.image_sizes.blocks.programs
+ )}}
{{ end }}
diff --git a/layouts/partials/locations/template-program.html b/layouts/partials/locations/template-program.html
index c1e62950e..8d9af3b2b 100644
--- a/layouts/partials/locations/template-program.html
+++ b/layouts/partials/locations/template-program.html
@@ -13,10 +13,9 @@
{{- if $program.Params.image -}}
- {{- partial "commons/image.html"
- (dict
- "image" $program.Params.image
- "sizes" site.Params.image_sizes.sections.programs.item
+ {{- partial "commons/image.html" (dict
+ "image" $program.Params.image
+ "sizes" site.Params.image_sizes.sections.programs.item
) -}}
{{- end -}}