Jacky Zhao
2024-02-02 e9fb0ecb96a2de53cf5f060c4e151f539ca4b089
quartz/cfg.ts
@@ -7,6 +7,7 @@
  | null
  | {
      provider: "plausible"
      host?: string
    }
  | {
      provider: "google"
@@ -15,11 +16,11 @@
  | {
      provider: "umami"
      websiteId: string
      host?: string
    }
export interface GlobalConfiguration {
  pageTitle: string
  description: string
  /** Whether to enable single-page-app style rendering. this prevents flashes of unstyled content and improves smoothness of Quartz */
  enableSPA: boolean
  /** Whether to display Wikipedia-style popovers when hovering over links */
@@ -35,6 +36,12 @@
   */
  baseUrl?: string
  theme: Theme
  /**
   * The locale to use for date formatting. Default to "en-US"
   * Allow to translate the date in the language of your choice.
   * Need to be formated following the IETF language tag format (https://en.wikipedia.org/wiki/IETF_language_tag)
   */
  locale?: string
}
export interface QuartzConfig {