Skip to content

Commit

Permalink
Update umima to use cdn (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeenHawk authored Apr 26, 2023
1 parent 318adc0 commit 4799715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ umami:
enable: false
script_url: # https://umami.example.com/script.js
website_id: # <your website id>
host_url: # <your umami site url>

# Plausible Analytics
# See: https://plausible.io/
Expand Down
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.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 }}"{% if theme.umami.host_url %} data-host-url="{{ theme.umami.host_url }}"{% endif %}></script>
{%- endif %}

0 comments on commit 4799715

Please sign in to comment.