fix: remove alt in decorative images

This commit is contained in:
ZhenShuo Leo
2025-11-24 08:20:15 +08:00
parent 1be60f89da
commit ec942b013a
7 changed files with 7 additions and 8 deletions

View File

@@ -53,7 +53,7 @@
<div class="overflow-hidden h-36 md:h-56 lg:h-72">
<img
src="{{ . }}"
alt="{{ with $.Params.featureimagealt }}{{ . }}{{ else }}{{ with $.Title }}Featured image for {{ . }}{{ else }}Featured image{{ end }}{{ end }}"
role="presentation"
loading="eager"
decoding="async"
fetchpriority="high"