1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

update license and qol improvements

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2026-03-05 19:49:40 +05:30
committed by Morumotto
parent 5420886a23
commit 19784d18ee
13 changed files with 205 additions and 377 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ const excerpt = (body?: string, len = 140) => {
<a href={`/posts/${post.id}/`} class="post-row">
<div class="post-thumb">
{post.data.image ? (
<img src={post.data.image} alt="" class="thumb-img" loading="lazy" />
<img src={post.data.image} alt={post.data.title} class="thumb-img" loading="lazy" decoding="async" />
) : (
<span class="thumb-placeholder">{post.data.title.charAt(0)}</span>
)}