diff options
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 }} |
