add lazy loading
This commit is contained in:
parent
a2b1aec0e1
commit
22ba330838
@ -10,6 +10,7 @@
|
|||||||
<img src='{{ .Get "src" }}'
|
<img src='{{ .Get "src" }}'
|
||||||
{{- with .Get "mouse" }} title="{{.}}"{{ end -}}
|
{{- with .Get "mouse" }} title="{{.}}"{{ end -}}
|
||||||
{{- with .Get "alt" }} alt="{{.}}"{{ end -}}
|
{{- with .Get "alt" }} alt="{{.}}"{{ end -}}
|
||||||
|
loading="lazy"
|
||||||
>
|
>
|
||||||
{{- if .Get "link"}}</a>{{ end -}}
|
{{- if .Get "link"}}</a>{{ end -}}
|
||||||
{{- with .Get "caption" -}}
|
{{- with .Get "caption" -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user