mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2025-06-05 21:49:32 +02:00
Don't lazy-load brand image
This commit is contained in:
@@ -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 }}"
|
||||
<img src="{{ own_acct.avatar_static }}"
|
||||
class="image is-32x32 avatar"
|
||||
alt="Brutaldon ('{{ own_acct.username }}')">
|
||||
</noscript>
|
||||
{% else %}
|
||||
<noscript class="loading-lazy">
|
||||
<img loading="lazy" src="{% static "images/brutaldon.png" %}"
|
||||
class="image is-32x32" alt="Brutaldon">
|
||||
</noscript>
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user