Fix umami & plausible enable option

This commit is contained in:
Mimi 2023-01-02 14:05:22 +08:00
parent 29de93d8d7
commit 9b84153802
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
{%- if theme.plausible %}
{%- if theme.plausible.enable %}
<script defer data-domain="{{ theme.plausible.site_domain }}" src="{{ theme.plausible.script_url }}"></script>
{%- endif %}

View File

@ -1,3 +1,3 @@
{%- if theme.umami %}
{%- if theme.umami.enable %}
<script async defer data-website-id="{{ theme.umami.website_id }}" src="{{ theme.umami.script_url }}"></script>
{%- endif %}