From 594b6a7b58f6799bf199cb7d933ed59ac125bf09 Mon Sep 17 00:00:00 2001 From: Felix Nie Date: Mon, 17 Mar 2025 13:32:20 +0800 Subject: [PATCH] Dealing with empty and undefined title --- quartz.config.ts | 2 +- quartz/util/theme.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz.config.ts b/quartz.config.ts index 59f3be67a..6f3321160 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -23,7 +23,7 @@ const config: QuartzConfig = { fontOrigin: "googleFonts", cdnCaching: true, typography: { - title: "Playwrite US Trad", + title: "Playwrite DK Loopet", header: "Schibsted Grotesk", body: "Source Sans Pro", code: "IBM Plex Mono", diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts index 1857f5f28..daa4f2341 100644 --- a/quartz/util/theme.ts +++ b/quartz/util/theme.ts @@ -25,7 +25,7 @@ export type FontSpecification = export interface Theme { typography: { - title: FontSpecification | undefined + title?: FontSpecification header: FontSpecification body: FontSpecification code: FontSpecification