Turn on lazy images for testing

This commit is contained in:
daudix
2024-08-02 04:40:35 +03:00
parent 900e2dae2b
commit f1b90e3b23
5 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@
{%- set rel_attributes = macros_rel_attributes::rel_attributes() | trim -%}
<picture>
<source srcset="{{ get_url(path='404.png') }}" media="(prefers-reduced-motion: reduce)"></source>
<img id="not-found" class="pixels transparent no-hover" alt="404" src="{{ get_url(path='404.gif') }}">
<img id="not-found" class="pixels transparent no-hover" alt="404" {%- if config.markdown.lazy_async_image -%}decoding="async" loading="lazy"{%- endif -%} src="{{ get_url(path='404.gif') }}">
</picture>
<h1>Page Not Found</h1>