Fix favicons path
This commit is contained in:
@ -1,7 +1,9 @@
|
|||||||
---
|
---
|
||||||
import { SITE } from '~/config.mjs';
|
import { SITE } from '~/config.mjs';
|
||||||
|
|
||||||
|
const base = `${SITE.basePathname}${SITE.basePathname.endsWith('/') ? "" : "/"}`
|
||||||
---
|
---
|
||||||
|
|
||||||
<link rel="shortcut icon" href={`${SITE.basePathname}/favicon.ico`} />
|
<link rel="shortcut icon" href={`${base}favicon.ico`} />
|
||||||
<link rel="icon" type="image/svg+xml" href={`${SITE.basePathname}/favicon.svg`} />
|
<link rel="icon" type="image/svg+xml" href={`${base}favicon.svg`} />
|
||||||
<link rel="mask-icon" href={`${SITE.basePathname}/favicon.svg`} color="#8D46E7" />
|
<link rel="mask-icon" href={`${base}favicon.svg`} color="#8D46E7" />
|
||||||
|
Reference in New Issue
Block a user