tpl: Add Do Not Track (dnt) option to Vimeo shortcode
authorJosh Gerdes <joshgerdes@gmail.com>
Fri, 2 Oct 2020 19:52:00 +0000 (14:52 -0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 2 Oct 2020 21:02:38 +0000 (23:02 +0200)
commitedc5c4741caaee36ba4d42b5947c195a3e02e6aa
tree703b927b59eaf15013a27af98a92386e620007c4
parent05e358fd335bcb5c7bdc2783ab0c17ec42667df6
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
config/privacy/privacyConfig.go
config/privacy/privacyConfig_test.go
docs/content/en/about/hugo-and-gdpr.md
resources/page/page_marshaljson.autogen.go
tpl/tplimpl/embedded/templates.autogen.go
tpl/tplimpl/embedded/templates/shortcodes/vimeo.html
tpl/tplimpl/embedded/templates/shortcodes/vimeo_simple.html