diff --git a/quartz/components/Head.tsx b/quartz/components/Head.tsx index fdf6407..46ba5e0 100644 --- a/quartz/components/Head.tsx +++ b/quartz/components/Head.tsx @@ -15,8 +15,8 @@ export default (() => { const path = url.pathname as FullSlug const baseDir = fileData.slug === "404" ? path : pathToRoot(fileData.slug!) - const iconPath = joinSegments(baseDir, "static/icon.svg") - const ogImagePath = `https://${cfg.baseUrl}/static/og-image.svg` + const iconPath = joinSegments(baseDir, "static/icon.png") + const ogImagePath = `https://${cfg.baseUrl}/static/og-image.png` return (
diff --git a/quartz/components/PageTitle.tsx b/quartz/components/PageTitle.tsx index 8ac3caa..65b58e2 100644 --- a/quartz/components/PageTitle.tsx +++ b/quartz/components/PageTitle.tsx @@ -6,7 +6,7 @@ import { i18n } from "../i18n" const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzComponentProps) => { const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title const baseDir = pathToRoot(fileData.slug!) - const iconPath = joinSegments(baseDir, "static/icon.svg") + const iconPath = joinSegments(baseDir, "static/icon.png") return (