mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
fix: remove analytics environment variables and adjust layout inclusion
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user