Update single.html

This commit is contained in:
Denys Konovalov 2023-01-22 18:24:57 +00:00
parent 090de6d67e
commit d536c4112d

View File

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