Apply loading=lazy attribute

This commit is contained in:
Andre_601 2022-12-12 22:27:06 +01:00 committed by GitHub
parent 67b8bd9432
commit e7b1b2bb3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,14 +9,14 @@
{% if show_animated %}
{% for emoj in emojo %}
<div>
<dt><img src="{{ emoj.url }}" alt=":{{ emoj.shortcode }}:"></dt>
<dt><img src="{{ emoj.url }}" alt=":{{ emoj.shortcode }}:" loading=lazy></dt>
<dd>:{{ emoj.shortcode }}:</dd>
</div>
{% endfor %}
{% else %}
{% for emoj in emojo %}
<div>
<dt><img src="{{ emoj.static_url }}" alt=":{{ emoj.shortcode }}:"></dt>
<dt><img src="{{ emoj.static_url }}" alt=":{{ emoj.shortcode }}:" loading=lazy></dt>
<dd>:{{ emoj.shortcode }}:</dd>
</div>
{% endfor %}