diff options
| author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2021-02-25 21:56:48 +0100 |
|---|---|---|
| committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2021-02-25 21:56:48 +0100 |
| commit | b8dda716d04a20cdea12e89f5360947ddd68ad91 (patch) | |
| tree | 32a3a6625c80736ed94c3f336ba6361bd89188a4 /layouts/partials/sidebar.html | |
| parent | 181171399a0fc5ed7356c7a96a4ba04d0a0999d0 (diff) | |
Fixes
Diffstat (limited to 'layouts/partials/sidebar.html')
| -rw-r--r-- | layouts/partials/sidebar.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 8384905..48bfd1a 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -3,12 +3,16 @@ <div class="sidebar-about"> {{ with .Site.Params.gravatar }} <div class="author-image"> - <img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar"> + <a href="{{ $.Site.BaseURL }}"> + <img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar"> + </a> </div> {{ else }} {{ with .Site.Params.profilePicture }} <div class="author-image"> - <img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture"> + <a href="{{ $.Site.BaseURL }}"> + <img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture"> + </a> </div> {{ end }} {{ end }} |
