remove bloat fonts, get rid of svelte-i18n
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
32
app/src/components/head.svelte
Normal file
32
app/src/components/head.svelte
Normal file
@@ -0,0 +1,32 @@
|
||||
<script>
|
||||
import { locale } from "$lib/locale.js";
|
||||
import api from "$lib/api.js";
|
||||
|
||||
export let desc, title;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>ngn.tf | {title}</title>
|
||||
|
||||
<!-- standart metadata tags -->
|
||||
|
||||
<meta name="description" content={desc} />
|
||||
<meta name="author" content="ngn" />
|
||||
<meta name="keywords" content="ngn,ngn13,ngn.tf" />
|
||||
<meta name="color-scheme" content="only dark" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
|
||||
<!-- open graph meta tags -->
|
||||
|
||||
<meta property="og:title" content="ngn.tf | {title}" />
|
||||
<meta property="og:description" content={desc} />
|
||||
|
||||
<!-- atom feed for the service updates -->
|
||||
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/atom+xml"
|
||||
href={api.join("/news/" + $locale.code)}
|
||||
title="Service news and updates"
|
||||
/>
|
||||
</svelte:head>
|
Reference in New Issue
Block a user