---
const { title, description = "barrett ruth's website" } = Astro.props;
---

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content={description} />
    <link rel="icon" type="image/webp" href="/logo.webp" />
    <link rel="stylesheet" href="/styles/base.css" />
    <title>{title}</title>
    <slot name="head" />
  </head>
  <body>
    <slot name="header" />

    <main class="main">
      <slot />
    </main>

    <slot name="scripts" />
  </body>
</html>
