add lazy loading
This commit is contained in:
		@@ -8,8 +8,9 @@
 | 
			
		||||
<figure {{ with .Get "class" }}class="{{.}}"{{ end -}}>
 | 
			
		||||
	{{- with .Get "link"}}<a href="{{.}}">{{ end -}}
 | 
			
		||||
	<img src='{{ .Get "src" }}'
 | 
			
		||||
	     {{- with .Get "mouse" }} title="{{.}}"{{ end -}}
 | 
			
		||||
	     {{- with .Get "alt" }} alt="{{.}}"{{ end -}}
 | 
			
		||||
	    {{- with .Get "mouse" }} title="{{.}}"{{ end -}}
 | 
			
		||||
	    {{- with .Get "alt" }} alt="{{.}}"{{ end -}}
 | 
			
		||||
		loading="lazy"
 | 
			
		||||
	>
 | 
			
		||||
	{{- if .Get "link"}}</a>{{ end -}}
 | 
			
		||||
	{{- with .Get "caption" -}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user