From 85290e5c12c5331bfa43481a73395c6f38b9d845 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Mon, 9 Jul 2018 15:16:47 +0800 Subject: [PATCH] docs(config): GDPR settings for GA and youtube --- exampleSite/config.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 49c1f1f..0eb28e5 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -166,6 +166,13 @@ copyright = "" # default: author.name ↓ # 默认为下面配 l-tumblr = "http://localhost:1313" m-instagram = "http://localhost:1313" +# See https://gohugo.io/about/hugo-and-gdpr/ +[privacy] + [privacy.googleAnalytics] + anonymizeIP = true # 12.214.31.144 -> 12.214.31.0 + [privacy.youtube] + privacyEnhanced = true + # 将下面这段配置取消注释可以使 hugo 生成 .md 文件 # Uncomment these options to make hugo output .md files. #[mediaTypes]