From 70aa8b4b3ed4866d0b2605303aa19d34831e41ba Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Thu, 14 May 2026 17:29:03 +0200 Subject: [PATCH] moved contact, added admin login --- frontend/src/layouts/Layout.astro | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro index c452d1c..7f6d6e7 100644 --- a/frontend/src/layouts/Layout.astro +++ b/frontend/src/layouts/Layout.astro @@ -116,6 +116,12 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0;
+ {hasContact && ( + Contact + )} {isAdmin && (
@@ -157,7 +163,7 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0; /> ) : siteConfig.footer}

-
+
RSS Feed {hasContact && ( <> @@ -165,20 +171,15 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0; Contact )} + {!isAdmin && ( + <> + + Admin login + + )}
- © - {isAdmin ? ( - {year} - ) : ( - {year} - )} - · {siteConfig.title} + © {year} · {siteConfig.title}