Fix the layout for the index page during development
This commit is contained in:
@@ -57,6 +57,6 @@ const settings = await getSettings();
|
||||
<meta name="application-name" content={settings.website.applicationName} />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Astro</h1>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user