diff --git a/config/_default/params.toml b/config/_default/params.toml index 4169fed..470d9ac 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -15,6 +15,8 @@ utterancesRepo = "jbowdre/site-comments" utterancesIssueTerm = "og:title" utterancesTheme = "gruvbox-dark" +analytics = true + [theme] palette = "runtimeterror" diff --git a/config/local/params.toml b/config/local/params.toml index 5946a26..c8a1743 100644 --- a/config/local/params.toml +++ b/config/local/params.toml @@ -1 +1,2 @@ -comments = false \ No newline at end of file +comments = false +analytics = false \ No newline at end of file diff --git a/config/preview/params.toml b/config/preview/params.toml index 5946a26..c8a1743 100644 --- a/config/preview/params.toml +++ b/config/preview/params.toml @@ -1 +1,2 @@ -comments = false \ No newline at end of file +comments = false +analytics = false \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 9ce310f..16b59ca 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,8 +19,10 @@ +{{ if .Site.Params.analytics }} +{{ end }} {{ if (findRE "