mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-26 22:34:06 -06:00
Update Head.tsx
This commit is contained in:
parent
5e3b34e567
commit
8108c72a9d
@ -175,12 +175,12 @@ export default (() => {
|
|||||||
{cfg.theme.cdnCaching && cfg.theme.fontOrigin === "local" ? (
|
{cfg.theme.cdnCaching && cfg.theme.fontOrigin === "local" ? (
|
||||||
<>
|
<>
|
||||||
<link rel="preconnect" href="https://cdn.staticfile.org" />
|
<link rel="preconnect" href="https://cdn.staticfile.org" />
|
||||||
<link rel="stylesheet" href="https://cdn.staticfile.org/lxgw-wenkai-webfont/1.7.0/style.css" />
|
<link rel="stylesheet" href="https://cdn.staticfile.org/lxgw-wenkai-webfont/1.7.0/style.css" />
|
||||||
</>
|
</>
|
||||||
) : cfg.theme.fontOrigin === "googleFonts" ? (
|
) : cfg.theme.fontOrigin === "googleFonts" ? (
|
||||||
<>
|
<>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
|
||||||
<link rel="stylesheet" href={googleFontHref(cfg.theme)} />
|
<link rel="stylesheet" href={googleFontHref(cfg.theme)} />
|
||||||
</>
|
</>
|
||||||
) : null}
|
) : null}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user