feat: Lazy load image by default

This commit is contained in:
Tomy Hsieh
2023-05-08 17:04:55 +07:00
committed by GitHub
parent 7452a19ee9
commit 82a44935be
@@ -32,6 +32,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
alt="{{ $altText }}" alt="{{ $altText }}"
loading="lazy"
/> />
{{ with $caption }}<figcaption class="text-center">{{ . | markdownify }}</figcaption>{{ end }} {{ with $caption }}<figcaption class="text-center">{{ . | markdownify }}</figcaption>{{ end }}
</figure> </figure>