hugo/docs/content/en/news/0.41-relnotes/index.md

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:

Notes

  • We have fixed an issue where we sent the wrong .Site object into the archetype templates used in hugo 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

Fixes