fix(layouts): change printf verb from string to integer

This commit is contained in:
Airscript 2022-08-21 16:59:13 +00:00
parent bb1b486822
commit 9b68fc463b

View File

@ -64,7 +64,7 @@
{{- if and (in $processableFormats $img.MediaType.SubType) (eq $prod true) -}}
{{- if site.Params.label.iconHeight -}}
{{- $img = $img.Resize (printf "x%s" site.Params.label.iconHeight) -}}
{{- $img = $img.Resize (printf "x%d" site.Params.label.iconHeight) -}}
{{ else -}}
{{- $img = $img.Resize "x30" -}}