This commit is contained in:
@@ -10,7 +10,7 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="de" data-language="de">
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content={description} />
|
||||
@@ -21,13 +21,6 @@ const { title, description = "Theater Ziefen - Coming 2029" } = Astro.props;
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="stylesheet">
|
||||
<title>{title} | Theater Ziefen</title>
|
||||
<script is:inline>
|
||||
// Set language immediately before page renders
|
||||
(function() {
|
||||
const savedLang = localStorage.getItem('language') || 'de';
|
||||
document.documentElement.setAttribute('data-language', savedLang);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<main class="min-h-[calc(100vh-200px)] flex flex-col items-center *:w-full">
|
||||
|
||||
Reference in New Issue
Block a user