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 }}