From a4e844297a805ff9348e30151d6504d90e121c68 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 2 May 2022 19:57:46 -0700 Subject: [PATCH] Re-enable Google Analytics (After faffing around for a while wondering why it wasn't working, until realizing my Pi-hole was just doing it's job :P ) --- blog/config.toml | 1 - blog/layouts/partials/head-additions.html | 21 +++++++++++++++++++++ deployBlog.sh | 1 - 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/blog/config.toml b/blog/config.toml index 0aac871..89f3a7e 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -2,7 +2,6 @@ baseURL = 'https://blog.scubbo.org/' languageCode = 'en-us' title = "Jack Jackson's Blog" theme = "ananke" -googleAnalytics = "UA-216020156-1" disqusShortname = 'scubbo-blog' SectionPagesMenu = "main" diff --git a/blog/layouts/partials/head-additions.html b/blog/layouts/partials/head-additions.html index f6b0118..dfa3893 100644 --- a/blog/layouts/partials/head-additions.html +++ b/blog/layouts/partials/head-additions.html @@ -3,3 +3,24 @@ {{ if .Params.math }}{{ partial "helpers/katex.html" . }}{{ end }} + + diff --git a/deployBlog.sh b/deployBlog.sh index 427d29a..b6724cb 100755 --- a/deployBlog.sh +++ b/deployBlog.sh @@ -55,7 +55,6 @@ if [[ -z "${booleans['noGit']:-}" ]]; then git push fi -HUGO_ENV=production hugo --quiet --source $path cp -r $path/public ./builtContent