From b23c9c1958dbe03b131dcf02f6093202f0c06da3 Mon Sep 17 00:00:00 2001 From: ndgnuh Date: Fri, 31 Jan 2020 13:24:50 +0700 Subject: [PATCH] wrong number of arguments --- layouts/partials/body/whoami.html | 4 ++-- layouts/partials/sidebar/site-bio.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/body/whoami.html b/layouts/partials/body/whoami.html index 30275f3..a7ba129 100644 --- a/layouts/partials/body/whoami.html +++ b/layouts/partials/body/whoami.html @@ -5,7 +5,7 @@
{{ $src := "" }} {{ if site.Params.useGravatar }} - {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 $.Param "email") }} + {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 ($.Param "email")) }} {{ if $.Param {{ else }} {{ if $.Param "authorImageUrl" }} @@ -51,4 +51,4 @@

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/sidebar/site-bio.html b/layouts/partials/sidebar/site-bio.html index 6511ad0..d6b81e6 100644 --- a/layouts/partials/sidebar/site-bio.html +++ b/layouts/partials/sidebar/site-bio.html @@ -4,7 +4,7 @@
{{ $src := "" }} {{ if site.Params.useGravatar }} - {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 $.Param "email") }} + {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 ($.Param "email")) }} {{ if $.Param {{ else }} {{ if $.Param "bioImageUrl" }} @@ -75,4 +75,4 @@
-{{ end }} \ No newline at end of file +{{ end }}