From 8e4163e3f08e29f38fe87c59d8cfb91e0fa98063 Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 29 Aug 2022 19:01:20 +0300 Subject: everything works --- src/layouts/Default.astro | 4 ---- src/layouts/ThreadLayout.astro | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 src/layouts/ThreadLayout.astro (limited to 'src/layouts') diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 3c0b6ff..ae59edb 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -2,13 +2,10 @@ const { title } = Astro.props as Props; --- - - - {title} @@ -19,6 +16,5 @@ const { title } = Astro.props as Props; diff --git a/src/layouts/ThreadLayout.astro b/src/layouts/ThreadLayout.astro new file mode 100644 index 0000000..24aba41 --- /dev/null +++ b/src/layouts/ThreadLayout.astro @@ -0,0 +1,22 @@ +--- +const { title } = Astro.props as Props; +--- + + + + + + {title} + + +
+ +
+ + + + -- cgit v1.2.3