From 92137a78df0ef1d54904a863159f0dba8d6a1eec Mon Sep 17 00:00:00 2001 From: coolGi Date: Sun, 31 Mar 2024 21:40:33 +1030 Subject: [PATCH] Added temporary gh integration to show this page to others (todo: revert this commit later) --- astro.config.mjs | 3 +++ src/components/BaseHead.astro | 8 ++++---- src/components/Header.astro | 6 +++--- src/layouts/BaseLayout.astro | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index c400ed4..830bba8 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,4 +7,7 @@ import icon from "astro-icon"; // https://astro.build/config export default defineConfig({ integrations: [icon(), mdx(), sitemap()], + + site: "https://crmodders.github.io", + base: "CRSite", }); \ No newline at end of file diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index e65401f..5b96b94 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -11,18 +11,18 @@ interface Props { // const canonicalURL = new URL(Astro.url.pathname, Astro.site); -const { title, description, image = "/logo.png" } = Astro.props; +const { title, description, image = "/CRSite/logo.png" } = Astro.props; --- - + - - + + diff --git a/src/components/Header.astro b/src/components/Header.astro index b2c2b03..4743d92 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -12,9 +12,9 @@ import HeaderLink from "./HeaderLink.astro";