Hugo 0.31: Language Multihost Edition!
Hugo `0.31` is the **Language Multihost Edition!**
The 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:
- 21105+ stars
- 455+ contributors
- 184+ themes
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 newtranslationKey
front matter variable. See #2699.
Enhancements
Language related
- Support unknown language codes 23ba779f @bep #3564
- Fix
.IsTranslated
with identical filenames b3daa1f4 @bep #2699 - Fall back to unstranslated base template 0a81a6b4 @bep #3893
- Add support for multiple static dirs 60dfb9a6 @bep #36#4027
- Add multilingual multihost support 2e046576 @bep #4027
Templates
- Refactor
Mod
withcast
76dc811c @artem-sidorenko - Add support for height argument to figure shortcode 488631fe @kaushalmodi #4014
Core
- Use ms precision for static change logging bb048d81 @bep
- Update Chroma to get the latest SASS lexer b32ffed6 @bep #4069
- Bump to Go 1.9.2 9299a16c @bep #4064
- Update Travis and snapcraft to Go 1.9.2 77cbd001 @bep #4064
- Handle Taxonomy permalinks d9a78b61 @betaveros #1208
Other
- Support Fast Render mode with sub-path in baseURL 31641033 @bep #3981
- Simplify Site benchmarks c3c10f2c @bep
- Replace
make
withmage
to build Hugo #3969 - Convert to
dep
as dependency/vendor manager for Hugo #3988 - Pre-allocate some slices a9be687b @bep
Fixes
Templates
- Make sure only one instance of a cached partial is rendered #4086
Other
Improve this page