Add attributes to images to hint async load
This was suggested on Matrix a while ago but I only found the time now to move forward with it. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
66ce298001
commit
9c92ba1698
14 changed files with 20 additions and 8 deletions
|
@ -15,6 +15,8 @@
|
|||
src="{% if site.logo_small %}{% get_media_prefix %}{{ site.logo_small }}{% else %}{% static "images/logo-small.png" %}{% endif %}"
|
||||
aria-hidden="true"
|
||||
alt="{{ site.name }}"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
>
|
||||
<h1 class="modal-card-title" id="get_started_header">
|
||||
{% blocktrans %}Welcome to {{ site_name }}!{% endblocktrans %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue