From c353447d8e6dbbec9e21c8ef57b1da1e177f2a16 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 16 Mar 2021 13:18:57 +0530 Subject: [PATCH] add browser-level lazy loading ref: https://web.dev/browser-level-image-lazy-loading/ --- layouts/_default/_markup/render-image.html | 2 +- layouts/shortcodes/figure.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index dec0559..ff5ada6 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,3 +1,3 @@

- {{ .Text }} + {{ .Text }}

diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index 77f188e..8c93eff 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -5,7 +5,7 @@ {{- if .Get "link" -}} {{- end }} -