diff --git a/functions/index.js b/functions/index.js
index 19334e4..e577005 100644
--- a/functions/index.js
+++ b/functions/index.js
@@ -1,7 +1,7 @@
-// Cloudflare Pages Function for the bare "/" route only.
-// Negotiates the visitor's language from Accept-Language and 302-redirects to
-// the matching / home. Explicit / URLs never hit this function, so
-// Falls back to the default language; the static `/ -> /en` rule in _redirects
+// Handles only the bare "/" route: negotiates the visitor's language from
+// Accept-Language and 302-redirects to the matching / home. Explicit
+// / URLs never hit this function; the static "/ -> /en" rule in
+// _redirects is the fallback if this function doesn't run.
const LANGS = ['en', 'de', 'fr', 'it', 'rm'];
const DEFAULT_LANG = 'en';
diff --git a/scripts/postbuild.ts b/scripts/postbuild.ts
index 35d41b6..d737910 100644
--- a/scripts/postbuild.ts
+++ b/scripts/postbuild.ts
@@ -25,7 +25,8 @@ const PAGES: { path: string; changefreq: string; priority: string; images?: stri
{ path: '/terms', changefreq: 'monthly', priority: '0.4' },
];
-// 1. Render the /404 route output to 404.html so Cloudflare Pages serves it for
+// Cloudflare Pages serves a top-level 404.html for unmatched routes; copy the
+// prerendered /404 route output there.
function writeNotFound() {
const src = join(browser, '404', 'index.html');
const dest = join(browser, '404.html');
@@ -38,7 +39,8 @@ function writeNotFound() {
console.log(`[postbuild] wrote ${dest}`);
}
-// 2. The root '' route only redirects to /. Drop any prerendered
+// The root '' route only redirects to /; drop the prerendered
+// index.html so the "/" -> "/" rule in _redirects handles it instead.
function dropRootIndex() {
const root = join(browser, 'index.html');
if (existsSync(root)) {
@@ -47,7 +49,6 @@ function dropRootIndex() {
}
}
-// 3. Generate a multilingual sitemap with hreflang alternates for every page.
function writeSitemap() {
const lastmod = new Date().toISOString().slice(0, 10);
diff --git a/src/app/components/legal/privacy.ts b/src/app/components/legal/privacy.ts
index 352c2a9..926405e 100644
--- a/src/app/components/legal/privacy.ts
+++ b/src/app/components/legal/privacy.ts
@@ -243,7 +243,6 @@ import { LegalPageBase } from './legal-page-base';
Stand-Datum veröffentlicht.
} @else {
-
This Privacy Policy explains how we handle your personal data when you visit
schuly.dev or use the Schuly app and its backend. It is
diff --git a/src/index.html b/src/index.html
index 2f781d5..c01de02 100644
--- a/src/index.html
+++ b/src/index.html
@@ -28,7 +28,6 @@
-
@@ -39,14 +38,12 @@
-
-
-
-
-