M views/honk.html +4 -4
@@ 10,7 10,7 @@
{{ else }}
<a href="{{ .Honker }}" rel=noreferrer>
{{ end }}
-<img alt="" src="/a?a={{ .Honker}}">
+<img alt="" src="/a?a={{ .Honker}}" loading="lazy">
</a>
{{ if .Oonker }}
{{ if $bonkcsrf }}
@@ 18,7 18,7 @@
{{ else }}
<a href="{{ .Oonker }}" rel=noreferrer>
{{ end }}
-<img alt="" src="/a?a={{ .Oonker}}">
+<img alt="" src="/a?a={{ .Oonker}}" loading="lazy">
</a>
{{ end }}
<p>
@@ 72,7 72,7 @@ in reply to: <a href="{{ .RID }}" rel=no
{{ 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 }}" title="{{ .Desc }}" alt="{{ .Desc }}" loading="lazy">
{{ end }}
{{ end }}
{{ else }}
@@ 82,7 82,7 @@ in reply to: <a href="{{ .RID }}" rel=no
{{ if eq .Media "video/mp4" }}
<p><video controls src="{{ .URL }}">{{ .Name }}</video>
{{ else }}
-<p><img src="{{ .URL }}" title="{{ .Desc }}" alt="{{ .Desc }}">
+<p><img src="{{ .URL }}" title="{{ .Desc }}" alt="{{ .Desc }}" loading="lazy">
{{ end }}
{{ end }}
{{ end }}
M views/honkers.html +1 -1
@@ 34,7 34,7 @@ function expandstuff() {
{{ range .Honkers }}
<section class="honk">
<header>
-<img alt="avatar" src="/a?a={{ .XID }}">
+<img alt="avatar" src="/a?a={{ .XID }}" loading="lazy">
<p style="font-size: 1.8em"><a href="/h/{{ .Name }}">{{ .Name }}<a>
</header>
<p>