From 582a8a33aff644a6b07534aaf677973abc6f154c Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 21 Oct 2022 21:01:11 +0200 Subject: use different theme that is a lot slimer --- .../LoveIt/layouts/partials/plugin/analytics.html | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 themes/LoveIt/layouts/partials/plugin/analytics.html (limited to 'themes/LoveIt/layouts/partials/plugin/analytics.html') diff --git a/themes/LoveIt/layouts/partials/plugin/analytics.html b/themes/LoveIt/layouts/partials/plugin/analytics.html deleted file mode 100644 index 9b174ed..0000000 --- a/themes/LoveIt/layouts/partials/plugin/analytics.html +++ /dev/null @@ -1,43 +0,0 @@ -{{- $analytics := .Scratch.Get "analytics" | default dict -}} - -{{- if $analytics.enable -}} - {{- /* Google Analytics */ -}} - {{- with $analytics.google.id -}} - - {{- printf "https://www.googletagmanager.com/gtag/js?id=%v" . | dict "Async" true "Source" | partial "plugin/script.html" -}} - {{- end -}} - - {{- /* Fathom Analytics */ -}} - {{- with $analytics.fathom.id -}} - - {{- dict "Source" ($analytics.fathom.server | default "cdn.usefathom.com" | printf "https://%v/tracker.js") "Async" true "Attr" "id=fathom-script" | partial "plugin/script.html" -}} - {{- end -}} - - {{- /* Plausible Analytics */ -}} - {{- with $analytics.plausible.dataDomain -}} - {{- 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 -}} - - {{- /* Yandex Metrica */ -}} - {{- with $analytics.yandexMetrica.id -}} - - - {{- end -}} -{{- end -}} -- cgit v1.2.3