From 9e794df12026d79385af724d1b6ac6ed34b7c9ae Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Fri, 31 Jan 2020 17:48:04 -0500 Subject: [PATCH] test out simple analytics --- layouts/_default/baseof.html | 1 + layouts/partials/scripts/simple_analytics.html | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 layouts/partials/scripts/simple_analytics.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c4b53958..2b97c6fa 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,7 @@ {{ partialCached "page/footer" . }} {{ partial "scripts/shortcodes" . }} +{{ partialCached "scripts/simple_analytics" . }} diff --git a/layouts/partials/scripts/simple_analytics.html b/layouts/partials/scripts/simple_analytics.html new file mode 100644 index 00000000..231b312c --- /dev/null +++ b/layouts/partials/scripts/simple_analytics.html @@ -0,0 +1,4 @@ +{{ if eq hugo.Environment "production" }} + + +{{ end }}