From 911361d92689e6f3d8d9db196540c6fcaf1e62ca Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 26 Nov 2026 12:04:32 +0100 Subject: [PATCH] Show contact email in footer, hide missing-address marker in production Co-Authored-By: Claude Opus 5.5 --- src/layouts/BaseLayout.astro | 9 +++++++++ src/pages/impressum.astro | 6 +++--- src/pages/index.astro | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 50a3457..2ad920c 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -15,6 +15,8 @@ interface Props { organizations?: FooterOrganization[]; /** Show the "Impressum & Datenschutz" link (only once its details are complete). */ showImpressumLink?: boolean; + /** General contact address shown in the footer. */ + contactEmail?: string; } const BRAND = 'Freilichttheater Ziefen 2028 – Wyti Wäg mit Breitestei'; @@ -24,6 +26,7 @@ const { description = "Freilichttheater Ziefen 2028 – Wyti Wäg mit Breitestei. Uraufführung im Juni 2028 rund um Jonas Breitenstein (1828–1877).", organizations = [], showImpressumLink = false, + contactEmail, } = Astro.props; const site = Astro.site ?? Astro.url; @@ -75,6 +78,12 @@ const footerOrgs = organizations.filter((org) => org?.name);