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:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user