try lazy loading imgs.
Ted Unangst tedu@tedunangst.com
Thu, 20 Jul 2023 17:38:24 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
views/honk.html
→
views/honk.html
@@ -72,7 +72,7 @@ {{ else }}
{{ if $omitimages }} <p><a href="/d/{{ .XID }}">Image: {{ .Name }}</a>{{ if not (eq .Desc .Name) }} {{ .Desc }}{{ end }} {{ else }} -<p><img src="/d/{{ .XID }}" title="{{ .Desc }}" alt="{{ .Desc }}"> +<p><img src="/d/{{ .XID }}" loading=lazy title="{{ .Desc }}" alt="{{ .Desc }}"> {{ end }} {{ end }} {{ else }}