Use lazy loading for photos pages too
This commit is contained in:
parent
4370a2f9ff
commit
db3dca686d
|
@ -1,6 +1,6 @@
|
|||
<article class="h-entry border-bottom">
|
||||
{{ range .Params.images }}
|
||||
<p><a href="{{ . | safeURL }}"><img src="{{ . | safeURL }}"></a></p>
|
||||
<p><a href="{{ . | safeURL }}"><img src="{{ . | safeURL }}" loading="lazy"></a></p>
|
||||
{{ end }}
|
||||
<p><a class="u-url" href="{{ .RelPermalink }}">{{ T "read_more" }}</a></p>
|
||||
</article>
|
Reference in New Issue