Add twitter card attr

This commit is contained in:
LittleSheep 2024-12-19 23:11:13 +08:00
parent 5f1f965292
commit 87d728b022

View File

@ -47,6 +47,7 @@ const attachments = await fetchAttachmentMeta(data.body.attachments)
}
}}
twitter={{
card: "summary_large_image",
title: data.body?.title ? data.body.title : `Post #${data.id}`,
description: data.body?.content,
creator: "@"+data.publisher.name,