mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 23:09:47 +00:00
docs(config): GDPR settings for GA and youtube
This commit is contained in:
parent
619a42053f
commit
85290e5c12
1 changed files with 7 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue