From ae707cf5c94050f9ab2f7b624826e44e29eb4870 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 18 Jan 2024 18:31:46 +0300 Subject: [PATCH] update layouts --- layouts/ga.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 layouts/ga.html diff --git a/layouts/ga.html b/layouts/ga.html new file mode 100644 index 0000000..3de6c0c --- /dev/null +++ b/layouts/ga.html @@ -0,0 +1,31 @@ +{{- $pc := .Site.Config.Privacy.GoogleAnalytics -}} +{{- if not $pc.Disable }}{{ with .Site.Config.Services.GoogleAnalytics.ID -}} +{{ if hasPrefix . "G-"}} + + +{{- end }}{{ end -}} +{{- end -}} \ No newline at end of file