From 7adc15edcb4772b5ef6576e851181c2fb0490314 Mon Sep 17 00:00:00 2001 From: ianrussel Date: Sun, 20 Nov 2022 23:15:15 +0800 Subject: [PATCH] added google analytics --- config.toml | 1 + layouts/partials/head.html | 1 + 2 files changed, 2 insertions(+) diff --git a/config.toml b/config.toml index e89ab92..e7a7679 100644 --- a/config.toml +++ b/config.toml @@ -8,6 +8,7 @@ DefaultContentLanguage = "en" # Change this to change the site's language preserveTaxonomyNames = true [params] + google_analytics_id="G-K8C29Z7Q33" # The name to display as main title in the home page mainpagetitle = "Ian Russel Adem" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4e7f569..aca96de 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,4 +15,5 @@ {{- end }} {{/* Don't ask why it's like this. This original theme is a mess... */}} + {{ template "_internal/google_analytics.html" . }}