From 80e678ce8daae247729faae6febfa917ef043473 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 4 Mar 2023 22:51:11 +0100 Subject: [PATCH] favicon fix, maybe a fix for the whole thing? --- src/components/navbarEntry.astro | 2 +- src/components/servantCard.astro | 4 ++-- src/layouts/Layout.astro | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/navbarEntry.astro b/src/components/navbarEntry.astro index 0f8c33a..9995390 100644 --- a/src/components/navbarEntry.astro +++ b/src/components/navbarEntry.astro @@ -17,7 +17,7 @@ if (currentPage === slug) { currPage = "current" } -const fulllink = `${Astro.site}/${slug}`; +const fulllink = `${Astro.site}${slug}`; ---
  • diff --git a/src/components/servantCard.astro b/src/components/servantCard.astro index f568eee..cd1b066 100644 --- a/src/components/servantCard.astro +++ b/src/components/servantCard.astro @@ -12,8 +12,8 @@ export interface Props { const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props; -const servant_img: string = `${Astro.site}/servant/${image_servant}.webp`; -const bondce_img: string = `${Astro.site}/ce/bond-ce/${image_bond}.webp` +const servant_img: string = `../servant/${image_servant}.webp`; +const bondce_img: string = `../ce/bond-ce/${image_bond}.webp` let bondce_css: string = "bond-ce"; if(bond10 === "false") { diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ba7e0d7..2c3b3a1 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -10,6 +10,7 @@ export interface Props { const { currentpage, title } = Astro.props; const description: string = "A reference for all esports Servants, CEs and already completed TAs that Firq can provide. Contact information available as well."; +const favicon_url = `${Astro.site}favicon.ico` --- @@ -17,7 +18,7 @@ const description: string = "A reference for all esports Servants, CEs and alrea - +