website/src/routes/+layout.svelte
2024-12-03 19:29:06 +10:00

28 lines
861 B
Svelte

<script>
import { page } from "$app/stores";
import Footer from "$lib/components/Footer.svelte";
import Navbar from "$lib/components/Navbar.svelte";
import "./style.css";
</script>
<svelte:head>
<title>
{$page.data.title ? $page.data.title + " | pancakes" : "pancakes"}
</title>
<meta name="description" content={$page.data.description || "🐈‍⬛"} />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="pancakes" />
<meta
property="og:url"
content={"https://trypancakes.com" + $page.url.pathname}
/>
<meta property="og:title" content={$page.data.title || "pancakes"} />
<meta property="og:image" content="/favicon.png" />
<meta property="og:image:alt" content="a black cat with large eyes" />
</svelte:head>
<Navbar />
<slot />
<Footer />