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
@ -43,7 +43,7 @@
|
||||
<nav class="nav">
|
||||
<div class="logo">
|
||||
{{- $label_text := (site.Params.label.text | default site.Title) }}
|
||||
|
||||
|
||||
{{- if site.Title }}
|
||||
<a
|
||||
accesskey="h"
|
||||
@ -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" -}}
|
||||
|
Loading…
Reference in New Issue
Block a user