Fixed issue #22
Fixed a bug when using the post style for the homepage.
This commit is contained in:
@@ -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>
|
||||
@@ -69,4 +68,4 @@
|
||||
{{ end }}
|
||||
|
||||
{{ partial "paginator.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user