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 }}