From d18f8b29630a3c6281a2754999c519b4d014ed56 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Tue, 12 Jul 2022 02:35:36 +0200 Subject: Rework partial for Google Site Tag tagging/analytics framework --- layouts/partials/scripts.html | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 layouts/partials/scripts.html (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html deleted file mode 100644 index 1f5983a..0000000 --- a/layouts/partials/scripts.html +++ /dev/null @@ -1,11 +0,0 @@ -{{- if or (eq (getenv "HUGO_ENV") "production") (eq site.Params.env "production") }} - {{- with site.GoogleAnalytics -}} - {{- $ga := resources.Get "js/ga.js" | minify -}} - {{- if not site.Params.assets.disable_fingerprinting -}} - {{- $ga = $ga | fingerprint -}} - - {{- else -}} - - {{- end -}} - {{- end -}} -{{- end -}} -- cgit v1.2.3