mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
fix(layouts): change printf verb from string to integer
This commit is contained in:
parent
bb1b486822
commit
9b68fc463b
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
{{- if and (in $processableFormats $img.MediaType.SubType) (eq $prod true) -}}
|
{{- if and (in $processableFormats $img.MediaType.SubType) (eq $prod true) -}}
|
||||||
{{- if site.Params.label.iconHeight -}}
|
{{- 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 -}}
|
{{ else -}}
|
||||||
{{- $img = $img.Resize "x30" -}}
|
{{- $img = $img.Resize "x30" -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user