From 9b51b4682042889425d134ba9a5a170ea8d1c73f Mon Sep 17 00:00:00 2001 From: Leif Niemczik Date: Wed, 16 Nov 2022 15:47:44 +0100 Subject: [PATCH] title --- src/layouts/Layout.astro | 19 +++++++++++++++++-- src/pages/imprint/index.astro | 17 +++++++++++++++++ src/pages/index.astro | 7 +------ src/pages/privacy/index.astro | 15 +++++++++++++++ 4 files changed, 50 insertions(+), 8 deletions(-) create mode 100644 src/pages/imprint/index.astro create mode 100644 src/pages/privacy/index.astro diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ada9270..474135f 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,9 +1,10 @@ --- export interface Props { - title: string + title?: string } const { title } = Astro.props +const permaTitle = 'Hacking in Parallel 2022 //// Berlin' --- @@ -12,10 +13,14 @@ const { title } = Astro.props - {title} + {`${title ? title + ' / ' : ''}${permaTitle}`} + diff --git a/src/pages/imprint/index.astro b/src/pages/imprint/index.astro new file mode 100644 index 0000000..207a163 --- /dev/null +++ b/src/pages/imprint/index.astro @@ -0,0 +1,17 @@ +--- +import Layout from '../../layouts/Layout.astro' +--- + + +
+
+

Imprint

+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim, eius + nostrum harum quo eligendi rerum ipsam, officia laboriosam sapiente non + perspiciatis excepturi ex quaerat cum aut. Dolore optio repudiandae + tempora! +

+
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 091f9d0..2c0011c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,7 +2,7 @@ import Layout from '../layouts/Layout.astro' --- - +

Hacking in
Parallel

@@ -26,11 +26,6 @@ import Layout from '../layouts/Layout.astro'