Fixed issue #22

Fixed a bug when using the post style for the homepage.
This commit is contained in:
Giuseppe Pignataro 2019-05-05 08:30:39 +02:00
parent 30a8284991
commit 8b49c5eaa2

View file

@ -3,7 +3,6 @@
<div class="intro">
{{ $cdn_url := .Scratch.Get "cdn_url" }}
{{ with .Site.Params.avatar}}
{{ $cdn_url := .Scratch.Get "cdn_url" }}
{{ $avatar := .}}
<div class="avatar">
<a href="/posts/"> <img src="{{ (printf "%s%s" $cdn_url $avatar)}}"> </a>