1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 09:24:24 +04:00

fix: remove analytics environment variables and adjust layout inclusion

This commit is contained in:
codecalm
2025-09-23 23:15:32 +02:00
parent dbb5e7d2ed
commit a7fccda74c
2 changed files with 1 additions and 5 deletions

View File

@@ -265,10 +265,6 @@ export default function (eleventyConfig) {
eleventyConfig.addGlobalData("package", pkg);
eleventyConfig.addGlobalData("cdnUrl", `https://cdn.jsdelivr.net/npm/@tabler/core@${pkg.version}`);
// PostHog Analytics Environment Variables
eleventyConfig.addGlobalData("posthogApiKey", process.env.POSTHOG_API_KEY || "");
eleventyConfig.addGlobalData("posthogHost", process.env.POSTHOG_HOST || "https://us.i.posthog.com");
const data = {
iconsCount: () => 123,
emailsCount: () => 123,

View File

@@ -52,7 +52,7 @@
<link rel="icon" href="{{ page | relative }}/favicon-dev.ico" type="image/x-icon" />
<link rel="shortcut icon" href="{{ page | relative }}/favicon-dev.ico" type="image/x-icon" />
{% endif %}
{% if environment == 'production' %}
{% include "layout/analytics.html" %}
{% endif %}