From 6e19444bd32c271b53971eaad7377e340259100c Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Mon, 12 Jan 2026 19:54:27 +0100 Subject: Add alt text support --- src/components/note/Note.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/note/Note.astro b/src/components/note/Note.astro index 3017d2d..920cbc1 100644 --- a/src/components/note/Note.astro +++ b/src/components/note/Note.astro @@ -47,7 +47,7 @@ const { Content } = await render(note); { !isPreview && note.data.attachments && note.data.attachments.length > 0 && (
- {note.data.attachments.map((attachment: { url: string; type: string }) => ( + {note.data.attachments.map((attachment: { type: string; url: string; alt?: string }) => ( Attachment -- cgit v1.2.3