Update single.html

This commit is contained in:
Denys Konovalov 2023-01-22 18:24:57 +00:00
parent 45256e3afd
commit 18fea0fc21

@ -7,7 +7,7 @@
<div class="text-center"> <div class="text-center">
<figure> <figure>
{{ if .Params.Image }} {{ if .Params.Image }}
<img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}"> <img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}" width="128px">
{{else if .Params.Email}} {{else if .Params.Email}}
<img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon"> <img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
{{ end }} {{ end }}
@ -47,4 +47,4 @@
</div> </div>
</div> </div>
</section> </section>
{{ end }} {{ end }}