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

@@ -85,7 +85,7 @@
<div class="flex-none relative overflow-hidden {{ $imgWrapperClasses }} thumbnail">
<img
src="{{ . }}"
alt="{{ with $target.Params.featuredImageAlt }}{{ . }}{{ else }}{{ $target.Title | emojify }}{{ end }}"
role="presentation"
loading="lazy"
decoding="async"
class="not-prose absolute inset-0 w-full h-full object-cover">