fix: Sidebar no avatar problem
If the user had a name but no avatar there would be empty image tag on the previous version
This commit is contained in:
parent
0d8fce9100
commit
f93e3847db
@ -3,7 +3,7 @@
|
||||
|
||||
<div class="profile-container">
|
||||
|
||||
{% if sidebar.name %}
|
||||
{% if sidebar.avatar %}
|
||||
<img class="avatar" src="{{ site.baseurl }}/assets/images/{{ sidebar.avatar }}" alt="profile picture" />
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user