Some better SEO
This commit is contained in:
@@ -8,11 +8,58 @@ interface Props {
|
||||
|
||||
const { title, description, url = Astro.url, image } = Astro.props;
|
||||
|
||||
import person from "@/data/person";
|
||||
import site from "@data/site";
|
||||
|
||||
import { Schema } from "astro-seo-schema";
|
||||
---
|
||||
|
||||
<!-- SEO -->
|
||||
<link rel="canonical" href={url} />
|
||||
<meta name="robots" content="all" />
|
||||
<Schema
|
||||
item={{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Person",
|
||||
name: "Nathan Cummins",
|
||||
alternateName: "Nathan Leon Cummins",
|
||||
alumniOf: {
|
||||
"@type": "CollegeOrUniversity",
|
||||
name: [
|
||||
"University of Adelaide",
|
||||
"Adelaide University",
|
||||
"Elder Conservatorium",
|
||||
"Elder Conservatorium of Music"
|
||||
]
|
||||
},
|
||||
knowsAbout: [
|
||||
"Music",
|
||||
"Music Composition",
|
||||
"Composition",
|
||||
"Music Theory",
|
||||
"Orchestration",
|
||||
"Music Orchestration",
|
||||
"Conducting",
|
||||
"Cubase",
|
||||
"Dorico",
|
||||
"Sheet Music",
|
||||
"Engraving",
|
||||
"Unity",
|
||||
"Unity3D",
|
||||
"Software Development",
|
||||
"Web Design",
|
||||
"C#",
|
||||
"Video Games",
|
||||
"Video Game Development",
|
||||
"Development",
|
||||
"Game Development"
|
||||
],
|
||||
email: person.email,
|
||||
jobTitle: person.jobTitle,
|
||||
description: site.description,
|
||||
image: site.image.externalURL
|
||||
}}
|
||||
/>
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:site_name" content={site.title} />
|
||||
@@ -55,3 +102,6 @@ import site from "@data/site";
|
||||
/>
|
||||
<meta name="twitter:image:alt" content={title} />
|
||||
<meta name="twitter:domain" content={import.meta.env.SITE} />
|
||||
|
||||
<!-- Theming -->
|
||||
<meta name="theme-color" content="#ff2d00" />
|
||||
|
Reference in New Issue
Block a user