mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-04 16:53:50 -04:00
add browser-level lazy loading
ref: https://web.dev/browser-level-image-lazy-loading/
This commit is contained in:
parent
a982a29e24
commit
c353447d8e
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
<p>
|
||||
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} />
|
||||
<img loading="lazy" src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} />
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue