Bjørn Erik Pedersen
1f1d955b56
Add anonymizeIP to GA privacy config
...
See #4751
2018-05-25 10:53:39 +02:00
Bjørn Erik Pedersen
9753cb59f1
Support DNT in Twitter shortcode for GDPR
...
Fixes #4765
2018-05-24 12:25:52 +02:00
Bjørn Erik Pedersen
3bfe8f4be6
tpl: Alias tweet shortode to twitter
...
See #4765
2018-05-24 11:40:47 +02:00
Bjørn Erik Pedersen
9ad46a2035
Add instagram_simple shortcode
...
Fixes #4748
2018-05-23 16:52:08 +02:00
Bjørn Erik Pedersen
4ddcf52ccc
Add an unified .Site.Config with a services section
...
Fixes #4751
2018-05-22 18:11:03 +02:00
Bjørn Erik Pedersen
88e3568680
Add YouTube shortcode simple mode
...
Adapted from the work of @onedrawingperday.
See #4616
2018-05-21 21:56:42 +02:00
Bjørn Erik Pedersen
5f24a2c047
Add PrivacyEnhanced mode for YouTube to the GDPR Policy
...
See #4616
2018-05-21 16:49:00 +02:00
Bjørn Erik Pedersen
710142016b
Add RespectDoNotTrack to GDPR privacy policy for Google Analytics
...
See #4616
2018-05-21 13:16:43 +02:00
Bjørn Erik Pedersen
0bbdef986d
config: Add the foundation for GDPR privacy configuration
...
See #4616
2018-05-21 00:41:42 +02:00
Bjørn Erik Pedersen
6413559f75
Add a way to disable one or more languages
...
This commit adds a new config setting:
```toml
disableLanguages = ["fr"]
```
If this is a multilingual site:
* No site for the French language will be created
* French content pages will be ignored/not read
* The French language configuration (menus etc.) will also be ignored
This makes it possible to start translating new languages and turn it on when you're happy etc.
Fixes #4297
Fixed #4329
2018-01-26 14:04:14 +01:00
Albert Nigmatzianov
48120ccfd2
all: Fix some govet complaints
2017-03-09 14:18:12 +01:00
Bjørn Erik Pedersen
3d4e99ed50
config: Remove unused var
2017-02-19 20:08:36 +01:00
Bjørn Erik Pedersen
93ca7c9e95
all: Refactor to nonglobal Viper, i18n etc.
...
This is a final rewrite that removes all the global state in Hugo, which also enables
the use if `t.Parallel` in tests.
Updates #2701
Fixes #3016
2017-02-17 17:15:26 +01:00