fix(blog): add page title to posts
This commit is contained in:
parent
2f1b0a1702
commit
9c8013c08d
@ -22,8 +22,8 @@ const components = { table: Table };
|
||||
const { title } = entry.data;
|
||||
---
|
||||
|
||||
<BaseLayout>
|
||||
<div class="prose dark:prose-invert container mx-auto px-4 py-16 lg:px-8 lg:py-32 xl:max-w-7xl">
|
||||
<BaseLayout title={title}>
|
||||
<div class="container prose mx-auto px-4 py-16 dark:prose-invert lg:px-8 lg:py-32 xl:max-w-7xl">
|
||||
<h1 class="text-4xl font-bold">{title}</h1>
|
||||
<Content components={components} />
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user