diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts index 56261e35b..011efb612 100644 --- a/quartz/util/theme.ts +++ b/quartz/util/theme.ts @@ -85,9 +85,9 @@ export function googleFontHref(theme: Theme) { const { code, header, body } = theme.typography const headerFont = formatFontSpecification("header", header) const bodyFont = formatFontSpecification("body", body) - const codeFont = formatFontSpecification("code", code) - - return `https://fonts.googleapis.com/css2?family=${bodyFont}&family=${headerFont}&family=${codeFont}&display=swap` + const codeFont = formatFontSpecification("code", code)  + return `https://fonts.font.im/css2?family=${bodyFont}&family=${headerFont}&family=${codeFont}&display=swap`  + // return `https://fonts.googleapis.com/css2?family=${bodyFont}&family=${headerFont}&family=${codeFont}&display=swap`  } export interface GoogleFontFile {