Skip to content

Commit

Permalink
fix(starlog): Correct layout syntax. (#10627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktym4a authored Apr 1, 2024
1 parent 046d69d commit 6d03473
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions examples/starlog/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
13 changes: 6 additions & 7 deletions examples/starlog/src/layouts/IndexLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 6d03473

Please sign in to comment.