From 38c703f5819dfa6bc782fe4d21a0b877bdac0a3d Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 16 Aug 2019 14:25:18 -0700 Subject: [PATCH] Add google analytics? --- config.toml | 1 + themes/vanilla/layouts/partials/head.html | 1 + 2 files changed, 2 insertions(+) diff --git a/config.toml b/config.toml index 88a652a..91beef3 100644 --- a/config.toml +++ b/config.toml @@ -4,3 +4,4 @@ title = "Daniel's Blog" theme = "vanilla" pygmentsCodeFences = true pygmentsStyle = "github" +googleAnalytics = "UA-145822895-1" diff --git a/themes/vanilla/layouts/partials/head.html b/themes/vanilla/layouts/partials/head.html index c313a19..2a42139 100644 --- a/themes/vanilla/layouts/partials/head.html +++ b/themes/vanilla/layouts/partials/head.html @@ -9,6 +9,7 @@ + {{ template "_internal/google_analytics.html" . }} {{ .Title }}