Skip to content

Commit 7684e7c

Browse files
committed
Hide broken image of avatar.
1 parent 2eacfbf commit 7684e7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{% if start == '/' %}
1616
{% assign avatar_url = avatar_url | prepend: site.baseurl %}
1717
{% endif %}
18-
<img src="{{ avatar_url }}" alt="avatar">
18+
<img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'">
1919
</a>
2020
</div>
2121

0 commit comments

Comments
 (0)