Fixes
This commit is contained in:
parent
181171399a
commit
b8dda716d0
10 changed files with 119 additions and 44 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue