Don't lazy-load brand image

This commit is contained in:
Jason McBrayer 2019-09-10 20:15:19 -04:00
parent d8a0e57190
commit 798e189815

View File

@ -81,16 +81,12 @@
<div class="navbar-brand">
<a class="navbar-item" href="{% url "home" %}">
{% if own_acct %}
<noscript class=loading-lazy">
<img loading="lazy" src="{{ own_acct.avatar_static }}"
class="image is-32x32 avatar"
alt="Brutaldon ('{{ own_acct.username }}')">
</noscript>
<img src="{{ own_acct.avatar_static }}"
class="image is-32x32 avatar"
alt="Brutaldon ('{{ own_acct.username }}')">
{% else %}
<noscript class="loading-lazy">
<img loading="lazy" src="{% static "images/brutaldon.png" %}"
class="image is-32x32" alt="Brutaldon">
</noscript>
<img loading="lazy" src="{% static "images/brutaldon.png" %}"
class="image is-32x32" alt="Brutaldon">
{% endif %}
</a>
</div>