fix favicon paths
This commit is contained in:
parent
9b5b239750
commit
fc4495b436
1 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import "../styles/global.css"
|
import "../styles/global.css"
|
||||||
import Navbar from "../components/Navbar.astro"
|
import Navbar from "../components/Navbar.astro"
|
||||||
|
import path from "../utils/path.ts"
|
||||||
|
|
||||||
const props = Astro.props
|
const props = Astro.props
|
||||||
---
|
---
|
||||||
|
|
@ -10,9 +11,9 @@ const props = Astro.props
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="width=device-width"/>
|
<meta name="viewport" content="width=device-width"/>
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
|
<link rel="icon" type="image/svg+xml" href={path(import.meta.env.BASE_URL, "/favicon.svg")}/>
|
||||||
<link rel="icon" type="image/png" href="/favicon.png"/>
|
<link rel="icon" type="image/png" href={path(import.meta.env.BASE_URL, "/favicon.png")}/>
|
||||||
<link rel="icon" href="/favicon.ico"/>
|
<link rel="icon" href={path(import.meta.env.BASE_URL, "/favicon.ico")}/>
|
||||||
<meta name="generator" content={Astro.generator}/>
|
<meta name="generator" content={Astro.generator}/>
|
||||||
<title>DIDAYS 2026{props.title ? ` | ${props.title}` : ""}</title>
|
<title>DIDAYS 2026{props.title ? ` | ${props.title}` : ""}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue