diff --git a/src/components/HeadSEO.astro b/src/components/HeadSEO.astro index 9df05c1..5a27d60 100644 --- a/src/components/HeadSEO.astro +++ b/src/components/HeadSEO.astro @@ -11,7 +11,6 @@ import { SITE, OPEN_GRAPH } from "../config"; - @@ -27,3 +26,6 @@ import { SITE, OPEN_GRAPH } from "../config"; + + diff --git a/src/config.ts b/src/config.ts index 5f27026..bdd5039 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,11 +1,3 @@ -export const SITE = { - title: "Hyro's Links", - description: - "Hyro's Links is a website that contains links to my social media accounts and other useful links.", - url: "https://links.xhyrom.me", - themeColor: "#fbc119", -}; - export const OPEN_GRAPH = { image: { src: "og_image.png", @@ -56,3 +48,22 @@ export const BUTTONS = [ href: "https://reddit.com/u/xHyroM", }, ]; + +export const SITE = { + title: "Hyro's Links", + description: + "Hyro's Links is a website that contains links to my social media accounts and other useful links.", + url: "https://links.xhyrom.me", + themeColor: "#fbc119", + schema: { + "@context": "https://schema.org/", + "@type": "ItemList", + name: "Redirects", + itemListElement: BUTTONS.map((button, i) => ({ + "@type": "ListItem", + position: i + 1, + name: button.name, + url: button.href, + })), + }, +};