Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Fastbyte01/KeepIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Pignataro <rogepix@gmail.com>2019-05-05 09:30:39 +0300
committerGiuseppe Pignataro <rogepix@gmail.com>2019-05-05 09:30:39 +0300
commit8b49c5eaa2d68eeaf0549df00020c1191d1c37b1 (patch)
treeba91f9a645b888187b16e8020d86aa8cd7a056b2
parent30a8284991884c2652c4496b762de61af9564107 (diff)
Fixed issue #22
Fixed a bug when using the post style for the homepage.
-rw-r--r--layouts/partials/home_post.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/home_post.html b/layouts/partials/home_post.html
index 1a5287d..061f6bc 100644
--- a/layouts/partials/home_post.html
+++ b/layouts/partials/home_post.html
@@ -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> \ No newline at end of file
+</div>