mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
web/layout: don't load the plausible script when analytics are disabled
addresses #1136
This commit is contained in:
parent
93ff9b62d6
commit
3295032882
@ -67,7 +67,7 @@
|
|||||||
<meta name="theme-color" content={statusBarColors[$currentTheme]} />
|
<meta name="theme-color" content={statusBarColors[$currentTheme]} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if env.PLAUSIBLE_ENABLED}
|
{#if browser && env.PLAUSIBLE_ENABLED && !$settings.privacy.disableAnalytics}
|
||||||
<script
|
<script
|
||||||
defer
|
defer
|
||||||
data-domain={env.HOST}
|
data-domain={env.HOST}
|
||||||
|
Loading…
Reference in New Issue
Block a user