From 31ea7852fd0665a38de6d41595314019aa8d9109 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 05 Jan 2026 11:28:24 +0000
Subject: [PATCH] chore(deps): bump preact in the production-dependencies group (#2266)
---
quartz/plugins/emitters/componentResources.ts | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts
index f97fdde..9c5ee18 100644
--- a/quartz/plugins/emitters/componentResources.ts
+++ b/quartz/plugins/emitters/componentResources.ts
@@ -241,6 +241,16 @@
vercelInsightsScript.defer = true
document.head.appendChild(vercelInsightsScript)
`)
+ } else if (cfg.analytics?.provider === "rybbit") {
+ componentResources.afterDOMLoaded.push(`
+ const rybbitScript = document.createElement("script");
+ rybbitScript.src = "${cfg.analytics.host ?? "https://app.rybbit.io"}/api/script.js";
+ rybbitScript.setAttribute("data-site-id", "${cfg.analytics.siteId}");
+ rybbitScript.async = true;
+ rybbitScript.defer = true;
+
+ document.head.appendChild(rybbitScript);
+ `)
}
if (cfg.enableSPA) {
--
Gitblit v1.10.0