1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-06-21 11:10:53 +00:00

fix: remove whitespace from avatar URL (#537)

Fix #537
This commit is contained in:
Cotes Chung 2022-03-22 21:12:16 +08:00
parent e68108014a
commit 0542b5149c
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808

View File

@ -16,7 +16,7 @@
{{ site.avatar | relative_url }}
{% endif %}
{% endcapture %}
<img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'">
<img src="{{ avatar_url | strip }}" alt="avatar" onerror="this.style.display='none'">
{% endif %}
</a>
</div>