0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-17 23:11:29 -05:00

fix(starlog): Correct layout syntax. (#10627)

This commit is contained in:
ktym4a 2024-04-01 15:06:08 +07:00 committed by GitHub
parent 046d69d517
commit 6d034733a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -7,6 +7,7 @@ export type Props = Partial<SEOProps>;
const { title = SiteTitle, name = SiteTitle, description = SiteDescription, ...seo } = Astro.props;
---
<meta charset="utf-8" />
<SEO {title} {description} {name} {...seo} />
<link rel="preconnect" href="https://fonts.googleapis.com" />

View file

@ -9,15 +9,14 @@ const { ...head } = Astro.props;
---
<!doctype html>
<meta charset="utf-8" />
<html lang="en">
<head>
<BaseHead {...head} />
<body>
<div class="glow"></div>
<Header />
<slot />
<Footer />
</body>
</head>
<body>
<div class="glow"></div>
<Header />
<slot />
<Footer />
</body>
</html>