Merge pull request #20 from ProjectSegfault/seo-improvements

Improve SEO
This commit is contained in:
Odyssey346 2022-06-25 13:54:02 +02:00 committed by GitHub
commit ec5c2990d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 60 additions and 17 deletions

View File

@ -32,16 +32,19 @@
</script>
<SvelteSeo
title="{global.NAME}"
description="{$t("common.INDEX_DESCRIPTION")}"
canonical="https://projectsegfau.lt/"
openGraph={{
url: "https://projectsegfau.lt/",
title: global.NAME,
description: $t("common.INDEX_DESCRIPTION"),
type: "website",
images: [
{
url: Banner,
width: 850,
height: 650,
alt: "Image"
alt: "Our banner"
}
]
}}

View File

@ -1,11 +1,19 @@
<script lang="ts">
import { t } from "$lib/translations";
import * as global from "../i18n/_global.json";
import SvelteSeo from "svelte-seo";
</script>
<svelte:head>
<title>{$t("common.CONTACT_TITLE")} | {global.NAME}</title>
</svelte:head>
<SvelteSeo
title="{$t("common.CONTACT_TITLE")} | {global.NAME}"
description="{$t("common.CONTACT_DESCRIPTION")}"
canonical="https://projectsegfau.lt/contact"
openGraph={{
url: "https://projectsegfau.lt/contact/",
title: "{$t('common.CONTACT_TITLE')} | {global.NAME}",
description: $t("common.CONTACT_DESCRIPTION")
}}
/>
<h1>{$t("common.CONTACT_TITLE")}</h1>

View File

@ -3,11 +3,19 @@
import { t } from "$lib/translations";
import * as global from "../i18n/_global.json";
import SvelteSeo from "svelte-seo";
</script>
<svelte:head>
<title>{$t("common.DONATE_TITLE")} | {global.NAME}</title>
</svelte:head>
<SvelteSeo
title="{$t("common.DONATE_TITLE")} | {global.NAME}"
description="{$t("common.DONATE_DESCRIPTION")}"
canonical="https://projectsegfau.lt/donate/"
openGraph={{
url: "https://projectsegfau.lt/donate/",
title: "{$t('common.DONATE_TITLE')} | {global.NAME}",
description: $t("common.DONATE_DESCRIPTION")
}}
/>
<h1>{$t("common.DONATE_TITLE")}</h1>

View File

@ -1,11 +1,19 @@
<script lang="ts">
import { t } from "$lib/translations";
import * as global from "../i18n/_global.json";
import SvelteSeo from "svelte-seo";
</script>
<svelte:head>
<title>{$t("common.FAQ_TITLE")} | {global.NAME}</title>
</svelte:head>
<SvelteSeo
title="{$t("common.FAQ_TITLE")} | {global.NAME}"
description="{$t("common.FAQ_TITLE")}"
canonical="https://projectsegfau.lt/faq/"
openGraph={{
url: "https://projectsegfau.lt/faq/",
title: "{$t('common.FAQ_TITLE')} | {global.NAME}",
description: $t("common.FAQ_TITLE")
}}
/>
<h1>{$t("common.FAQ_TITLE")}</h1>

View File

@ -1,11 +1,19 @@
<script>
import { t } from "$lib/translations";
import * as global from "../../i18n/_global.json";
import SvelteSeo from "svelte-seo";
</script>
<svelte:head>
<title>{$t("common.MINECRAFT_TITLE")} | {global.NAME}</title>
</svelte:head>
<SvelteSeo
title="{$t("common.MINECRAFT_TITLE")} | {global.NAME}"
description="{$t("common.CSM_TITLE")}"
canonical="https://projectsegfau.lt/minecraft/client-side-mods"
openGraph={{
url: "https://projectsegfau.lt/minecraft/client-side-mods",
title: "{$t('common.MINECRAFT_TITLE')} | {global.NAME}",
description: $t("common.CSM_TITLE")
}}
/>
<h1>{$t("common.MINECRAFT_TITLE")}</h1>

View File

@ -1,11 +1,19 @@
<script>
import { t } from "$lib/translations";
import * as global from "../../i18n/_global.json";
import SvelteSeo from "svelte-seo";
</script>
<svelte:head>
<title>{$t("common.MINECRAFT_TITLE")} | {global.NAME}</title>
</svelte:head>
<SvelteSeo
title="{$t("common.MINECRAFT_TITLE")} | {global.NAME}"
description="{$t("common.MINECRAFT_DESCRIPTION")}"
canonical="https://projectsegfau.lt/minecraft/"
openGraph={{
url: "https://projectsegfau.lt/minecraft/",
title: "{$t('common.MINECRAFT_TITLE')} | {global.NAME}",
description: $t("common.MINECRAFT_DESCRIPTION")
}}
/>
<h1>{$t("common.MINECRAFT_TITLE")}</h1>