mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 05:13:24 -05:00
7.3 KiB
7.3 KiB
date: 2018-05-25 title: "Hugo 0.41: Privacy Configuration for GDPR" description: "Hugo 0.41 adds a new site configuration section to meet the new General Data Protection Regulation (GDPR)." categories: ["Releases"]
In Hugo 0.41
we add a new Privacy Configuration section to meet the new regulations in the new General Data Protection Regulation (GDPR). Many have contributed work on this project, but a special thanks to @onedrawingperday, @jhabdas, and @it-gro.
You can read more about the new Privacy Config here.
Hugo now has:
- 25917+ stars
- 446+ contributors
- 231+ themes
Notes
- We have fixed an issue where we sent the wrong
.Site
object into the archetype templates used inhugo new
. This meant that if you wanted to access site params and some other fields you needed to use.Site.Info.Params
etc. This release fixes that so now you can use the same construct in the archetype templates as in the regular templates.
Enhancements
- Alias tweet shortode to twitter 3bfe8f4b @bep #4765
- Adjust GA templates f45b522e @bep #4616
- Wrap the relevant templates with the privacy policy disable check 67892073 @bep #4616
- Extract internal templates 34ad9a4f @bep #4457
- Use double quotes instead of back quotes b2b500f5 @anthonyfok
- Provide the correct .Site object to archetype templates ab02594e @bep #4732
- Document the GDPR Privacy Config c71f201f @bep #4751
- Add no-cookie variants of the Google Analytics templates [
a51945ea
] (a51945ea4b
) @bep #4775 - Remove youtube_simple for now 448081b8 @bep #4751
- Add anonymizeIP to GA privacy config 1f1d955b @bep #4751
- Support DNT in Twitter shortcode for GDPR 9753cb59 @bep #4765
- Regenerate embedded templates 6aa2c385 @bep #4761
- Add instagram_simple shortcode 9ad46a20 @bep #4748
- Go fmt 4256de33 @bep
- Remove the id from youtube_simple bed7a0fa @bep #4751
- Add an unified .Site.Config with a services section 4ddcf52c @bep #4751
- Move the privacy config into a parent 353148c2 @bep #4751
- Make the simple mode YouTube links schemaless 69ee6b41 @bep #4616
- Add YouTube shortcode simple mode 88e35686 @bep #4616
- Do not return error on .Get "class" and vice versa in shortcodes 2f17f937 @bep #4745
- Create SUPPORT.md 0a7027e2 @coliff
- Add PrivacyEnhanced mode for YouTube to the GDPR Policy 5f24a2c0 @bep #4616
- Add RespectDoNotTrack to GDPR privacy policy for Google Analytics 71014201 @bep #4616
- Add the foundation for GDPR privacy configuration 0bbdef98 @bep #4616
- Show site build warning in TestPageBundlerSiteRegular 9bd4236e @anthonyfok #4672
- Do not show empty BuildDate in version 4eedb377 @anthonyfok
- Improve markup determination logic 2fb9af59 @vassudanagunta
- Update CONTRIBUTING.md b6ededf0 @domdomegg