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
|
@ -82,6 +82,8 @@
|
|||
src="{% static "images/no_cover.jpg" %}"
|
||||
alt=""
|
||||
aria-hidden="true"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
>
|
||||
<span class="cover-caption">
|
||||
<span>{{ book.alt_text }}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue