移除懒加载

This commit is contained in:
FlintyLemming
2026-01-19 12:07:06 +08:00
parent 9d657b0e5a
commit 4a7470316f
9 changed files with 20 additions and 26 deletions

View File

@@ -26,13 +26,12 @@
{{- $Height = $thumbnail.Height -}}
{{- end -}}
<img src="{{ $Permalink }}"
<img src="{{ $Permalink }}"
width="{{ $Width }}"
height="{{ $Height }}"
alt="{{ .Title }}"
loading="lazy">
height="{{ $Height }}"
alt="{{ .Title }}">
{{ else }}
<img src="{{ $image.permalink }}" loading="lazy" alt="Featured image of post {{ .Title }}" />
<img src="{{ $image.permalink }}" alt="Featured image of post {{ .Title }}" />
{{ end }}
</div>
{{ end }}