aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Head.svelte
blob: e8032dbf65c0663ba22ef942532b23abf6d6bbab (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>