Skip to content

Instantly share code, notes, and snippets.

@NagariaHussain
Created December 7, 2022 10:36
Show Gist options
  • Save NagariaHussain/7d7c88f604111b281c74b890444fe639 to your computer and use it in GitHub Desktop.
Save NagariaHussain/7d7c88f604111b281c74b890444fe639 to your computer and use it in GitHub Desktop.
---
export interface Props {
title: string;
}
const { title } = Astro.props;
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<slot />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment