fix: show post image as og image

This commit is contained in:
javayhu 2025-05-25 22:26:14 +08:00
parent 02df9d134f
commit 5824e7489c

View File

@ -100,6 +100,7 @@ export async function generateMetadata({
title: `${post.title} | ${t('title')}`,
description: post.description,
canonicalUrl: getUrlWithLocale(post.slug, locale),
image: post.image,
});
}