aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Head.svelte
blob: d301f143adb3f3a8fe93a7718f0e11269a635c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>