mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 12:04:51 -04:00
Update simple variants documentation (#500)
Added documentation for Twitter and Vimeo simple variants.
This commit is contained in:
parent
f5cfd44e0a
commit
d9f3f078c2
@ -49,8 +49,10 @@ simple = false
|
|||||||
[privacy.twitter]
|
[privacy.twitter]
|
||||||
disable = false
|
disable = false
|
||||||
enableDNT = false
|
enableDNT = false
|
||||||
|
simple = false
|
||||||
[privacy.vimeo]
|
[privacy.vimeo]
|
||||||
disable = false
|
disable = false
|
||||||
|
simple = false
|
||||||
[privacy.youtube]
|
[privacy.youtube]
|
||||||
disable = false
|
disable = false
|
||||||
privacyEnhanced = false
|
privacyEnhanced = false
|
||||||
@ -107,9 +109,25 @@ disableInlineCSS = true
|
|||||||
|
|
||||||
enableDNT
|
enableDNT
|
||||||
: Enabling this for the twitter/tweet shortcode, the tweet and its embedded page on your site are not used for purposes that include personalized suggestions and personalized ads.
|
: Enabling this for the twitter/tweet shortcode, the tweet and its embedded page on your site are not used for purposes that include personalized suggestions and personalized ads.
|
||||||
|
simple
|
||||||
|
: If simple mode is enabled, a static and no-JS version of a tweet will be built.
|
||||||
|
|
||||||
|
|
||||||
|
**Note:** If you use the _simple mode_ for Twitter, you may want to disable the inlines styles provided by Hugo:
|
||||||
|
|
||||||
|
{{< code-toggle file="config">}}
|
||||||
|
[services]
|
||||||
|
[services.twitter]
|
||||||
|
disableInlineCSS = true
|
||||||
|
{{< /code-toggle >}}
|
||||||
|
|
||||||
### YouTube
|
### YouTube
|
||||||
|
|
||||||
privacyEnhanced
|
privacyEnhanced
|
||||||
: When you turn on privacy-enhanced mode, YouTube won’t store information about visitors on your website unless the user plays the embedded video.
|
: When you turn on privacy-enhanced mode, YouTube won’t store information about visitors on your website unless the user plays the embedded video.
|
||||||
|
|
||||||
|
### Vimeo
|
||||||
|
|
||||||
|
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 play the video will open in a new tab directly on Vimeo's website.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user