diff options
author | Giuseppe Pignataro <rogepix@gmail.com> | 2019-03-15 13:28:51 +0300 |
---|---|---|
committer | Giuseppe Pignataro <rogepix@gmail.com> | 2019-03-15 13:28:51 +0300 |
commit | abb2a12e5d22e09b736a3b22654176316a950f9c (patch) | |
tree | 8b73732999a7840a50c02a2dd0ee77db4db9d45d /layouts | |
parent | 8e044c5571ef36570309e5b81c7044fffa90c186 (diff) |
Click on avatar go to posts
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/home_post.html | 3 | ||||
-rw-r--r-- | layouts/partials/home_profile.html | 3 |
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> + |