ci: remove workflow, add base path
This commit is contained in:
@@ -7,6 +7,9 @@ interface Props {
|
||||
}
|
||||
|
||||
const { title, description } = Astro.props
|
||||
|
||||
const base = import.meta.env.BASE_URL.replace(/\/+$/, '')
|
||||
const faviconHref = `${base}/favicon.svg`
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
@@ -17,7 +20,7 @@ const { title, description } = Astro.props
|
||||
<meta name="description" content={description} />
|
||||
<meta name="theme-color" content="#090a0a" />
|
||||
<meta name="color-scheme" content="dark" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="icon" type="image/svg+xml" href={faviconHref} />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
|
||||
Reference in New Issue
Block a user