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