Update single.html
This commit is contained in:
parent
f3c84974b2
commit
6845ad0e7d
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user