summaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
authorroninro <liumy.f@foxmail.com>2022-08-02 15:24:34 +0800
committerroninro <liumy.f@foxmail.com>2022-08-02 15:24:34 +0800
commitdfb6b815514a14c311ee5a1027c8d2669f2430f8 (patch)
treed8b4584f9e17096ffffe61f4f126afeb0afdf40a /layouts/_default/_markup/render-image.html
parent0072f3dac08dab7640cf5a3ae98c21e4ed3ca988 (diff)
lazysizes
Diffstat (limited to 'layouts/_default/_markup/render-image.html')
-rw-r--r--layouts/_default/_markup/render-image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index f4f9389..fa127a5 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -1,6 +1,6 @@
<figure>
<a class="paragraph-image">
- <img src="{{ .Destination | safeURL }}" data-action="zoom" alt="{{ .Text }}" {{ with .Title }} title="{{ . }}"{{ end }} loading="lazy" decoding="async">
+ <img data-src="{{ .Destination | safeURL }}" data-action="zoom" alt="{{ .Text }}" {{ with .Title }} title="{{ . }}"{{ end }} class="lazyload">
</a>
{{ with .Title }}
<figcaption class="image-caption">