Add gravatar support
This commit is contained in:
parent
d3780e0a47
commit
6b1f227642
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@
|
||||||
<img src="{{$authorImage}}" alt="Author Image" class="img--circle img--headshot element--center">
|
<img src="{{$authorImage}}" alt="Author Image" class="img--circle img--headshot element--center">
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ with .Site.Params.social.email}}
|
||||||
|
<div class="author-image">
|
||||||
|
<img src="https://www.gravatar.com/avatar/{{md5 .}}?s=240&d=mp" class="img--circle img--headshot element--center" alt="gravatar">
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
<p class="site__description">
|
<p class="site__description">
|
||||||
{{ with .Site.Params.description }} {{.}} {{end}}
|
{{ with .Site.Params.description }} {{.}} {{end}}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue