This commit is contained in:
Zsolt Ero
2024-06-13 19:33:06 +02:00
parent ea11cdbe4b
commit 3f26695b2e
7 changed files with 94 additions and 100 deletions

View File

@@ -1,9 +1,6 @@
---
interface Props {
title: string
}
const { title } = Astro.props
const { frontmatter } = Astro.props || {}
const { title, container } = frontmatter || Astro.props
import '../styles/_style.css'
---
@@ -32,7 +29,14 @@ import '../styles/_style.css'
</head>
<body>
<slot />
{
container && (
<div class="container">
<slot />
</div>
)
}
{!container && <slot />}
<div class="footer">
<a href="/privacy">Privacy Policy</a>