fix favicon paths
All checks were successful
/ build (pull_request) Successful in 28s
/ cleanup-staging (pull_request) Successful in 6s

This commit is contained in:
kritzl 2026-09-16 11:35:09 +02:00
commit fc4495b436
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM

View file

@ -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>