mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-22 06:46:29 +01:00
Fixed issue #22
Fixed a bug when using the post style for the homepage.
This commit is contained in:
parent
30a8284991
commit
8b49c5eaa2
1 changed files with 1 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue