fix: img attribute

add loading/decoding/fetchpriority

remove alt for decorative images
This commit is contained in:
ZhenShuo Leo
2025-09-18 13:42:22 +08:00
parent e6968d877f
commit 9eebb5b2aa
8 changed files with 21 additions and 10 deletions

View File

@@ -56,7 +56,7 @@
<figure class="not-prose flex-none relative overflow-hidden thumbnail--related">
<img
src="{{ . }}"
alt="{{ $.Title }}"
alt=""
loading="lazy"
decoding="async"
fetchpriority="low"