From 9acaa1c8ac8c8afd3fa08d3b1f58a60006fcfc6f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 09 Aug 2024 01:19:45 +0000
Subject: [PATCH] feat: custom global latex macros (closes #1325)
---
quartz/cfg.ts | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/quartz/cfg.ts b/quartz/cfg.ts
index 09905e9..0c344d3 100644
--- a/quartz/cfg.ts
+++ b/quartz/cfg.ts
@@ -30,6 +30,14 @@
apiKey: string
host?: string
}
+ | {
+ provider: "tinylytics"
+ siteId: string
+ }
+ | {
+ provider: "cabin"
+ host?: string
+ }
export interface GlobalConfiguration {
pageTitle: string
@@ -69,10 +77,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