feat: add unique title for each page

start improving SEO
This commit is contained in:
xHyroM 2023-07-18 23:39:32 +02:00
parent 5de86adfe2
commit e1c350b0e6
No known key found for this signature in database
GPG key ID: BE0423F386C436AA
4 changed files with 12 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import { SKILLS } from "~/config";
--- ---
<Layout <Layout
title="xHyroM - About Me"
schemaOrg={{ schemaOrg={{
"@context": "https://schema.org/", "@context": "https://schema.org/",
"@type": "Person", "@type": "Person",
@ -17,6 +18,10 @@ import { SKILLS } from "~/config";
"https://twitter.com/hyrousek", "https://twitter.com/hyrousek",
"https://instagram.com/hyro.dev", "https://instagram.com/hyro.dev",
"https://github.com/xHyroM", "https://github.com/xHyroM",
"https://ko-fi.com/xhyrom",
"https://www.chess.com/member/Hyriik",
"https://reddit.com/u/xHyroM",
"https://wakatime.com/@xhyrom",
], ],
jobTitle: "Developer", jobTitle: "Developer",
}} }}

View file

@ -39,7 +39,7 @@ const posts = page.data as {
}[]; }[];
--- ---
<Layout> <Layout title="xHyroM - Blog">
<Navbar /> <Navbar />
<h1 class="w-full py-32 text-center text-5xl font-extrabold text-white"> <h1 class="w-full py-32 text-center text-5xl font-extrabold text-white">
Blog Blog

View file

@ -7,6 +7,7 @@ import { SOCIALS } from "../config";
--- ---
<Layout <Layout
title="xHyroM - Homepage"
schemaOrg={{ schemaOrg={{
"@context": "https://schema.org/", "@context": "https://schema.org/",
"@type": "Person", "@type": "Person",
@ -17,6 +18,10 @@ import { SOCIALS } from "../config";
"https://twitter.com/hyrousek", "https://twitter.com/hyrousek",
"https://instagram.com/hyro.dev", "https://instagram.com/hyro.dev",
"https://github.com/xHyroM", "https://github.com/xHyroM",
"https://ko-fi.com/xhyrom",
"https://www.chess.com/member/Hyriik",
"https://reddit.com/u/xHyroM",
"https://wakatime.com/@xhyrom",
], ],
jobTitle: "Developer", jobTitle: "Developer",
}} }}

View file

@ -39,6 +39,7 @@ PROJECTS.sort((a, b) => a.name.localeCompare(b.name));
--- ---
<Layout <Layout
title="xHyroM - My projects"
schemaOrg={{ schemaOrg={{
"@context": "https://schema.org/", "@context": "https://schema.org/",
"@type": "ItemList", "@type": "ItemList",