diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/layouts/Article.astro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/layouts/Article.astro b/src/layouts/Article.astro new file mode 100644 index 0000000..253479b --- /dev/null +++ b/src/layouts/Article.astro @@ -0,0 +1,15 @@ +--- +import Layout from './Layout.astro'; + +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + +<Layout title={title}> + <article id="main"> + <slot /> + </article> +</Layout> |
