Hide broken image of avatar.
This commit is contained in:
parent
b28724b4d4
commit
0bb9c47cf9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
{% if start == '/' %}
|
{% if start == '/' %}
|
||||||
{% assign avatar_url = avatar_url | prepend: site.baseurl %}
|
{% assign avatar_url = avatar_url | prepend: site.baseurl %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<img src="{{ avatar_url }}" alt="avatar">
|
<img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue