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

6.7 KiB


date: 2017-11-20 title: "Hugo 0.31: Language Multihost Edition!" description: "Hugo 0.31: Multihost, smart union static dirs, and more ..." categories: ["Releases"] images:

  • images/blog/hugo-31-poster.png

Hugo `0.31` is the **Language Multihost Edition!**

eSoliaThe Multihost feature is sponsored by eSolia, @rickcogley's company.

Multihost means that you can have a baseURL per language, for example, https://no.example.com and https://en.example.com. This is seamlessly integrated, and the built-in web server with live reload and navigateToChanged etc. just works. A related enhancement in this release is the support for as many static dirs as you need, with intelligent language overrides, forming a big union file system. Add to that several other language related fixes and enhancements, it is safe to say that this is the version you want for multilingual Hugo sites!

This release represents 44 contributions by 7 contributors to the main Hugo code base. @bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @kaushalmodi, @natefinch, and @betaveros for their ongoing contributions. And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs, which has received 13 contributions by 9 contributors. A special thanks to @oncletom, @kaushalmodi, @XhmikosR, and @digitalcraftsman for their work on the documentation site.

Hugo now has:

Notes

  • For mapping of translated content, Hugo now considers the full path of the content file, which makes it possible with translation of duplicate content filenames such as index.md. A specific translation key can be specified with the new translationKey front matter variable. See #2699.

Enhancements

Templates

Core

Other

Fixes

Templates

  • Make sure only one instance of a cached partial is rendered #4086

Other