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-03-15 13:28:51 +0300
committerGiuseppe Pignataro <rogepix@gmail.com>2019-03-15 13:28:51 +0300
commitabb2a12e5d22e09b736a3b22654176316a950f9c (patch)
tree8b73732999a7840a50c02a2dd0ee77db4db9d45d
parent8e044c5571ef36570309e5b81c7044fffa90c186 (diff)
Click on avatar go to posts
-rw-r--r--layouts/partials/home_post.html3
-rw-r--r--layouts/partials/home_profile.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/home_post.html b/layouts/partials/home_post.html
index c09bcd9..9322725 100644
--- a/layouts/partials/home_post.html
+++ b/layouts/partials/home_post.html
@@ -4,7 +4,7 @@
{{ $cdn_url := .Scratch.Get "cdn_url" }}
<div class="avatar">
- <img src="https://www.gravatar.com/avatar/{{ md5 .Site.Params.gravatar.email }}?s=240&d=mp" alt="gravatar">
+ <a href="/posts/"> <img src="https://www.gravatar.com/avatar/{{ md5 .Site.Params.gravatar.email }}?s=240&d=mp" alt="gravatar"> </a>
</div>
{{ with .Site.Params.subtitle}}
<h2 class="description">
@@ -62,3 +62,4 @@
{{ partial "paginator.html" . }}
</div>
+
diff --git a/layouts/partials/home_profile.html b/layouts/partials/home_profile.html
index fc92926..5a9eaf0 100644
--- a/layouts/partials/home_profile.html
+++ b/layouts/partials/home_profile.html
@@ -2,7 +2,7 @@
{{ $cdn_url := .Scratch.Get "cdn_url" }}
<div class="avatar">
- <img src="https://www.gravatar.com/avatar/{{ md5 .Site.Params.gravatar.email }}?s=240&d=mp" alt="gravatar">
+ <a href="/posts/"> <img src="https://www.gravatar.com/avatar/{{ md5 .Site.Params.gravatar.email }}?s=240&d=mp" alt="gravatar"> </a>
</div>
{{ with .Site.Params.subtitle}}
<h2 class="description">
@@ -13,3 +13,4 @@
{{ partial "social.html" . }}
</div>
</div>
+