feat: fix article page's description type

This commit is contained in:
草师傅 2025-08-12 14:19:51 +08:00
parent 70b389a4a5
commit d9b8c0ec33
Signed by: gb
GPG key ID: 43330A030E2D6478

View file

@ -57,7 +57,7 @@ const cover = customFeaturedImage || matchedImage_src?.src || firstImageURL || `
<Layout <Layout
title={entry.data.title} title={entry.data.title}
description={entry.data.description} description={entry.data.description || ''}
ogImage={cover} ogImage={cover}
author={authorInfo.map((a: any) => a.name).join(', ')} author={authorInfo.map((a: any) => a.name).join(', ')}
> >