feat(infra): enable image lazyload (native)

pull/11/head
Coelacanthus 2020-11-26 02:40:47 +08:00
parent 11bfbfe7d1
commit acfa8b35db
2 changed files with 3 additions and 1 deletions

View File

@ -1 +0,0 @@

View File

@ -0,0 +1,3 @@
<p class="md__image">
<img src="{{ .Destination | relURL }}" loading="lazy" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}" {{ end }} />
</p>