aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/Default.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Default.astro')
-rw-r--r--src/layouts/Default.astro11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro
index 5a2a372..3c0b6ff 100644
--- a/src/layouts/Default.astro
+++ b/src/layouts/Default.astro
@@ -1,12 +1,15 @@
---
+const { title } = Astro.props as Props;
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width" />
- <meta name="generator" content={Astro.generator} />
+ <meta name="viewport" content="width=device-width" />
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
+ <meta name="generator" content={Astro.generator} />
+ <title>{title}</title>
</head>
<body>
<slot />
@@ -15,7 +18,7 @@
<style>
html {
- font-family: sans-serif;
- padding-left: 1em;
+ font-family: sans-serif;
+ padding-left: 1em;
}
</style>