feat: add the intro line to the layout

This commit is contained in:
Stefan Imhoff
2024-09-29 18:10:05 +02:00
parent 8560a04871
commit 604d200a6f

View File

@@ -32,6 +32,13 @@ const gridVariant = frontmatter.grid || grid;
</div> </div>
) )
} }
{
frontmatter.intro && (
<blockquote class="mbe-10">
<p>{frontmatter.intro}</p>
</blockquote>
)
}
<slot name="before-content" /> <slot name="before-content" />
{ {
frontmatter.intro && ( frontmatter.intro && (