diff options
| author | Matt Kosarek <matt.kosarek@canonical.com> | 2026-03-11 17:49:05 -0400 |
|---|---|---|
| committer | Matt Kosarek <matt.kosarek@canonical.com> | 2026-03-11 17:49:05 -0400 |
| commit | 77b0f69d0c6e555349dd491d7ca209924d119e61 (patch) | |
| tree | 095cf20002f5df752c04c20af4366588bd7ba32b /src/layouts/PostLayout.astro | |
| parent | c929a29c728c6799a3f83f5ad5c1c6f99ed516d4 (diff) | |
Diffstat (limited to 'src/layouts/PostLayout.astro')
| -rw-r--r-- | src/layouts/PostLayout.astro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro new file mode 100644 index 0000000..31d0ac6 --- /dev/null +++ b/src/layouts/PostLayout.astro @@ -0,0 +1,18 @@ +--- +import BaseLayout from './BaseLayout.astro'; +import '../styles/post.css'; + +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + +<BaseLayout title={title}> + <div class="org-article-title"> + <h1>{title}</h1> + <a href="/posts/feed.xml">RSS Feed</a> + </div> + <slot /> +</BaseLayout> |
