mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/about/privacy: don't show plausible info if it's disabled
This commit is contained in:
parent
59b6cbd8d4
commit
aa0991eee4
1 changed files with 22 additions and 19 deletions
|
@ -1,4 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import env from "$lib/env";
|
||||||
import { t } from "$lib/i18n/translations";
|
import { t } from "$lib/i18n/translations";
|
||||||
import OuterLink from "$components/misc/OuterLink.svelte";
|
import OuterLink from "$components/misc/OuterLink.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
@ -38,6 +39,7 @@
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
{#if env.PLAUSIBLE_ENABLED}
|
||||||
<section id="plausible">
|
<section id="plausible">
|
||||||
<h3>anonymous traffic analytics</h3>
|
<h3>anonymous traffic analytics</h3>
|
||||||
<p>
|
<p>
|
||||||
|
@ -60,6 +62,7 @@
|
||||||
if you wish to opt out of anonymous analytics, you can do it in <a href="/settings/privacy#analytics">privacy settings</a>.
|
if you wish to opt out of anonymous analytics, you can do it in <a href="/settings/privacy#analytics">privacy settings</a>.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<section id="cloudflare">
|
<section id="cloudflare">
|
||||||
<h3>web privacy & security</h3>
|
<h3>web privacy & security</h3>
|
||||||
|
|
Loading…
Reference in a new issue