Skip to content

Commit

Permalink
Fix umami & plausible enable option
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Jan 2, 2023
1 parent 29de93d commit 9b84153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layout/_third-party/analytics/plausible.njk
Original file line number Diff line number Diff line change
@@ -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 %}
2 changes: 1 addition & 1 deletion layout/_third-party/analytics/umami.njk
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit 9b84153

Please sign in to comment.