2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Add loading="lazy" in images (#30199)

This commit is contained in:
XhmikosR
2020-03-05 10:12:59 +02:00
committed by GitHub
parent 414314f3cb
commit 7eaf7528fc
5 changed files with 16 additions and 10 deletions
+4 -1
View File
@@ -17,7 +17,10 @@ aliases: "/examples/"
<a href="/docs/{{ $.Site.Params.docs_version }}/examples/{{ $example.name | urlize }}/">
<img class="img-thumbnail mb-3" srcset="/docs/{{ $.Site.Params.docs_version }}/assets/img/examples/{{ $example.name | urlize }}.png,
/docs/{{ $.Site.Params.docs_version }}/assets/img/examples/{{ $example.name | urlize }}@2x.png 2x"
src="/docs/{{ $.Site.Params.docs_version }}/assets/img/examples/{{ $example.name | urlize }}.png" alt="{{ $example.name }} screenshot" width="480" height="300">
src="/docs/{{ $.Site.Params.docs_version }}/assets/img/examples/{{ $example.name | urlize }}.png"
alt="{{ $example.name }} screenshot"
width="480" height="300"
loading="lazy">
<h5 class="mb-1">{{ $example.name }}</h5>
</a>
<p class="text-muted">{{ $example.description }}</p>