mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Fix umami & plausible enable option
This commit is contained in:
parent
29de93d8d7
commit
9b84153802
2
layout/_third-party/analytics/plausible.njk
vendored
2
layout/_third-party/analytics/plausible.njk
vendored
@ -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>
|
<script defer data-domain="{{ theme.plausible.site_domain }}" src="{{ theme.plausible.script_url }}"></script>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
2
layout/_third-party/analytics/umami.njk
vendored
2
layout/_third-party/analytics/umami.njk
vendored
@ -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>
|
<script async defer data-website-id="{{ theme.umami.website_id }}" src="{{ theme.umami.script_url }}"></script>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user