jlelse
/
Indiego
Archived
1
Fork 0

Add native lazy loading to images

This commit is contained in:
Jan-Lukas Else 2020-06-05 20:33:21 +02:00
parent 0d3f314102
commit 4370a2f9ff
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
<a href="{{ .Destination | safeURL }}"><img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} /></a>
<a href="{{ .Destination | safeURL }}"><img src="{{ .Destination | safeURL }}" loading="lazy" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} /></a>