Add Categories and Tags with new configs
This commit is contained in:
16
src/layouts/BlogLayout.astro
Normal file
16
src/layouts/BlogLayout.astro
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
import Layout from "~/layouts/PageLayout.astro";
|
||||
|
||||
const { meta } = Astro.props;
|
||||
---
|
||||
|
||||
<Layout meta={meta}>
|
||||
<section class="px-8 sm:px-6 py-12 sm:py-16 lg:py-20 mx-auto max-w-3xl">
|
||||
<header>
|
||||
<h1 class="text-center text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-8 md:mb-16">
|
||||
<slot name="title" />
|
||||
</h1>
|
||||
</header>
|
||||
<slot />
|
||||
</section>
|
||||
</Layout>
|
Reference in New Issue
Block a user