From a53772bbd1dd2804872ae0e519bedeb2a2fd4287 Mon Sep 17 00:00:00 2001
From: Osman Tunahan ARIKAN <154083945+OsmanTunahan@users.noreply.github.com>
Date: Wed, 30 Oct 2024 22:33:22 +0000
Subject: [PATCH] feat(i18n): add turkish language (#1554)
---
quartz/cfg.ts | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/quartz/cfg.ts b/quartz/cfg.ts
index 2e32b1f..85527a0 100644
--- a/quartz/cfg.ts
+++ b/quartz/cfg.ts
@@ -25,9 +25,27 @@
host?: string
scriptSrc?: string
}
+ | {
+ provider: "posthog"
+ apiKey: string
+ host?: string
+ }
+ | {
+ provider: "tinylytics"
+ siteId: string
+ }
+ | {
+ provider: "cabin"
+ host?: string
+ }
+ | {
+ provider: "clarity"
+ projectId?: string
+ }
export interface GlobalConfiguration {
pageTitle: string
+ pageTitleSuffix?: 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 */
@@ -64,10 +82,11 @@
header: QuartzComponent[]
beforeBody: QuartzComponent[]
pageBody: QuartzComponent
+ afterBody: QuartzComponent[]
left: QuartzComponent[]
right: QuartzComponent[]
footer: QuartzComponent
}
export type PageLayout = Pick<FullPageLayout, "beforeBody" | "left" | "right">
-export type SharedLayout = Pick<FullPageLayout, "head" | "header" | "footer">
+export type SharedLayout = Pick<FullPageLayout, "head" | "header" | "footer" | "afterBody">
--
Gitblit v1.10.0