Datenschutz und Impressum hinzugefügt
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 9s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 9s
This commit is contained in:
11
src/layouts/PageLayout.astro
Normal file
11
src/layouts/PageLayout.astro
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
import MainLayout from './MainLayout.astro';
|
||||
import '../styles/global.css';
|
||||
const { frontmatter } = Astro.props;
|
||||
---
|
||||
<MainLayout title={frontmatter.title}>
|
||||
<article class="prose prose-slate mx-auto ">
|
||||
<h1 class="text-3xl font-bold mb-8">{frontmatter.title}</h1>
|
||||
<slot />
|
||||
</article>
|
||||
</MainLayout>
|
||||
Reference in New Issue
Block a user