mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-09-18 19:08:46 -04:00
parent
4d06902bb1
commit
42cc219007
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- $attributes := merge .Attributes (dict "alt" .Text "src" $src "title" (.Title | transform.HTMLEscape)) -}}
|
||||
{{- $attributes := merge .Attributes (dict "alt" .Text "src" $src "title" (.Title | transform.HTMLEscape) "loading" "lazy") -}}
|
||||
<img
|
||||
{{- range $k, $v := $attributes -}}
|
||||
{{- if $v -}}
|
||||
|
|
Loading…
Reference in a new issue