favicon fix, maybe a fix for the whole thing?

This commit is contained in:
Firq 2023-03-04 22:51:11 +01:00
parent 7e4bb858cd
commit 80e678ce8d
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 5 additions and 4 deletions

View file

@ -17,7 +17,7 @@ if (currentPage === slug) {
currPage = "current"
}
const fulllink = `${Astro.site}/${slug}`;
const fulllink = `${Astro.site}${slug}`;
---
<li>

View file

@ -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") {

View file

@ -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`
---
<!DOCTYPE html>
@ -17,7 +18,7 @@ const description: string = "A reference for all esports Servants, CEs and alrea
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/ico" href="favicon.ico" />
<link rel="icon" type="image/ico" href={favicon_url} />
<meta name="generator" content={Astro.generator} />
<meta property="og:title" content="Firq TA Reference" />
<meta property="og:url" content="https://firq.pages.neshweb.net/fgosite/" />