mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
lazy loading commit
This commit is contained in:
parent
1db5c788dd
commit
16bb704154
@ -20,7 +20,7 @@
|
|||||||
{{ config.file_thumb|sprintf(config.file_icons.default) }}
|
{{ config.file_thumb|sprintf(config.file_icons.default) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"
|
"
|
||||||
style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px"
|
style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" {% if config.content_lazy_loading %}loading="lazy"{% endif %}
|
||||||
>
|
>
|
||||||
</video>
|
</video>
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -39,7 +39,7 @@
|
|||||||
{{ config.uri_thumb }}{{ post.thumb }}
|
{{ config.uri_thumb }}{{ post.thumb }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"
|
"
|
||||||
style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt=""
|
style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" {% if config.content_lazy_loading %}loading="lazy"{% endif %} alt=""
|
||||||
/>
|
/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user