docs(config): GDPR settings for GA and youtube

This commit is contained in:
olOwOlo 2018-07-09 15:16:47 +08:00
parent 619a42053f
commit 85290e5c12
No known key found for this signature in database
GPG key ID: 456394B6E7A15EA6

View file

@ -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]