summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorJosh Gerdes <[email protected]>2020-10-02 14:52:00 -0500
committerBjørn Erik Pedersen <[email protected]>2020-10-02 23:02:38 +0200
commitedc5c4741caaee36ba4d42b5947c195a3e02e6aa (patch)
tree703b927b59eaf15013a27af98a92386e620007c4 /docs
parent05e358fd335bcb5c7bdc2783ab0c17ec42667df6 (diff)
downloadhugo-edc5c4741caaee36ba4d42b5947c195a3e02e6aa.tar.gz
hugo-edc5c4741caaee36ba4d42b5947c195a3e02e6aa.zip
tpl: Add Do Not Track (dnt) option to Vimeo shortcode
Added a Vimeo EnableDNT privacy option to the Hugo config. This will enable the Vimeo 'Do Not Track' flag when either Vimeo shortcode tempalte options are used. When enabled, it will force the Vimeo player to be blocked from tracking any session data, including all cookies and stats. Fixes #7700
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/about/hugo-and-gdpr.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/en/about/hugo-and-gdpr.md b/docs/content/en/about/hugo-and-gdpr.md
index 7c1c9bed4..df0234a3b 100644
--- a/docs/content/en/about/hugo-and-gdpr.md
+++ b/docs/content/en/about/hugo-and-gdpr.md
@@ -51,6 +51,7 @@ enableDNT = false
simple = false
[privacy.vimeo]
disable = false
+enableDNT = false
simple = false
[privacy.youtube]
disable = false
@@ -128,6 +129,9 @@ privacyEnhanced
### Vimeo
+enableDNT
+: Enabling this for the vimeo shortcode, the Vimeo player will be blocked from tracking any session data, including all cookies and stats.
+
simple
: If simple mode is enabled, the video thumbnail is fetched from Vimeo's servers and it is overlayed with a play button. If the user clicks to play the video, it will open in a new tab directly on Vimeo's website.