From fcabd988bd9b98eb5afda600345e14a302fbd4ee Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Tue, 15 Feb 2022 03:05:09 +0000
Subject: add stuff

---
 src/lib/Head.svelte | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/lib/Head.svelte

(limited to 'src/lib/Head.svelte')

diff --git a/src/lib/Head.svelte b/src/lib/Head.svelte
new file mode 100644
index 0000000..d301f14
--- /dev/null
+++ b/src/lib/Head.svelte
@@ -0,0 +1,17 @@
+<script lang="ts">
+    /** The title that is shown at the top of the page and in search engines */
+    export let title = 'SkyBlock Stats'
+    /** The description that is shown in search engines */
+	export let description = ''
+    /** The title that is shown in platforms like Discord */
+	export let metaTitle = title
+    /** The description that is shown in platforms like Discord */
+    export let metaDescription = description
+</script>
+
+<svelte:head>
+    <title>{title}</title>
+    <meta name="description" content={description}>
+    <meta property="og:title" content={metaTitle}>
+    <meta property="og:description" content={metaDescription}>
+</svelte:head>
-- 
cgit 

