fix: Align article fields in frontend engine

This commit is contained in:
cawcenter
2025-12-13 21:15:51 -05:00
parent f7dd7b41b5
commit 357c52c99f

View File

@@ -56,8 +56,8 @@ if (page && (!blocks || blocks.length === 0) && page.content) {
> >
{isGenerated ? ( {isGenerated ? (
<article class="prose dark:prose-invert max-w-none container mx-auto px-4 py-8"> <article class="prose dark:prose-invert max-w-none container mx-auto px-4 py-8">
<h1 class="text-4xl font-bold mb-6">{activeEntity.headline}</h1> <h1 class="text-4xl font-bold mb-6">{activeEntity.title}</h1>
<div set:html={activeEntity.full_html_body} /> <div set:html={activeEntity.html_content} />
</article> </article>
) : ( ) : (
<BlockRenderer blocks={blocks} /> <BlockRenderer blocks={blocks} />