Fix the layout for the index page during development

This commit is contained in:
Quinn Hegeman
2026-03-07 21:03:24 +01:00
parent 403f8146d9
commit b62865cf04
2 changed files with 5 additions and 15 deletions

View File

@@ -57,6 +57,6 @@ const settings = await getSettings();
<meta name="application-name" content={settings.website.applicationName} />
</head>
<body>
<h1>Astro</h1>
<slot />
</body>
</html>

View File

@@ -1,20 +1,10 @@
---
import { getSettings } from "@/content/settings/settings"
import WebpageLayout from "@/layouts/WebpageLayout.astro";
const settings = await getSettings();
console.log(settings);
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Astro</title>
</head>
<body>
<h1>Astro</h1>
</body>
</html>
<WebpageLayout>
<h1>Test</h1>
</WebpageLayout>