This commit is contained in:
Alexandre Vicenzi 2021-02-25 21:56:48 +01:00
parent 181171399a
commit b8dda716d0
10 changed files with 119 additions and 44 deletions

View file

@ -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 }}