mirror of
https://github.com/welpo/tabi.git
synced 2026-02-16 08:07:19 +01:00
fix: get_url
This commit is contained in:
parent
4b171edbf2
commit
b237d3756c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
||||||
{% if analytics_id is matching("^pa-[^\.]+$") %}
|
{% if analytics_id is matching("^pa-[^\.]+$") %}
|
||||||
{# Use new script available in Plausible 3.1.0 or later #}
|
{# Use new script available in Plausible 3.1.0 or later #}
|
||||||
<script async src="{% if self_hosted_url %}{{ self_hosted_url ~ '/js/' }}{% else %}https://plausible.io/js/{% endif %}{{ analytics_id }}.js"></script>
|
<script async src="{% if self_hosted_url %}{{ self_hosted_url ~ '/js/' }}{% else %}https://plausible.io/js/{% endif %}{{ analytics_id }}.js"></script>
|
||||||
<script src="{$baseUrl}js/initializePlausible.min.js" defer="defer"></script>
|
<script src="{{ get_url(path='js/initializePlausible.min.js', trailing_slash=false) | safe }}" defer="defer"></script>
|
||||||
{% else %}
|
{% else %}
|
||||||
<script
|
<script
|
||||||
defer
|
defer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue