mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Update umima to use cdn (#638)
This commit is contained in:
parent
318adc0227
commit
47997153c9
@ -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/
|
||||
|
||||
2
layout/_third-party/analytics/umami.njk
vendored
2
layout/_third-party/analytics/umami.njk
vendored
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user