mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
chore: use plugin/script.html for Plausible Analytics script
This commit is contained in:
parent
b4f8fa4ee3
commit
a8ecc6de4e
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,6 @@
|
|||
|
||||
{{- /* Plausible Analytics */ -}}
|
||||
{{- with $analytics.plausible.dataDomain -}}
|
||||
<script async defer data-domain="{{ . }}" src="https://plausible.io/js/plausible.js"></script>
|
||||
{{- dict "Source" "https://plausible.io/js/plausible.js" "Async" true "Defer" true "Attr" ($analytics.plausible.dataDomain | printf `data-domain="%v"`) | partial "plugin/script.html" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue