fix: og image generation
This commit is contained in:
@@ -37,7 +37,7 @@ export async function generateMetadata({
|
||||
const journalTitle = meta?.title || slug;
|
||||
const entryTitle = content?.title || chapterSlug;
|
||||
|
||||
const quote = extractQuoteFromHl(sp);
|
||||
const quote = extractQuoteFromHl(sp, content?.paragraphs);
|
||||
if (quote) {
|
||||
return buildOgMeta({
|
||||
title: journalTitle,
|
||||
|
||||
Reference in New Issue
Block a user