diff options
Diffstat (limited to 'layouts/partials/blog/cross-site-post.html')
-rw-r--r-- | layouts/partials/blog/cross-site-post.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/layouts/partials/blog/cross-site-post.html b/layouts/partials/blog/cross-site-post.html index 3a13af8..2a9f77b 100644 --- a/layouts/partials/blog/cross-site-post.html +++ b/layouts/partials/blog/cross-site-post.html @@ -16,15 +16,16 @@ {{- $img2x := $img.Resize "64x webp" }} <div class="img"> <a href="{{ .Permalink }}"><img - alt="Arrow" - src="{{ $img1x.Permalink }}" - srcset=" - {{ $img1x.Permalink }} 1x, - {{ $img2x.Permalink }} 2x - " - width="{{ $img1x.Width }}" - height="{{ $img1x.Height }}" - ></a> + alt="Arrow" + loading="lazy" + src="{{ $img1x.Permalink }}" + srcset=" + {{ $img1x.Permalink }} 1x, + {{ $img2x.Permalink }} 2x + " + width="{{ $img1x.Width }}" + height="{{ $img1x.Height }}" + ></a> </div> <div class="text"> <time datetime="{{.PublishDate.Format "2006-01-02" }}"> @@ -33,5 +34,5 @@ I published <a href="{{ .Permalink }}">"{{ .Title }}"</a> on {{ $section }} - </div> + </div> </article> |