Update Hugo to version 0.46

Hugo 0.46 is the closing credits to The Summer of Hugo. While most people have been relaxing on the beach, Hugo has been really busy:

This was followed by some more technical follow-up releases. And today, when July has turned into August, we come with another one. It's not a big release. But with the big interest in Hugo Pipes, we felt that it was important to get this out there sooner rather than later.

There are two main items in this release:

  1. We have added a custom SCSS/SASS import resolver that respects Hugo's project/themes filesystem hierarchy anywhere in /assets. Using the LibSass' resolver alone only made this work for the entry folder.
  2. Resources fetched via resources.Get and similar are now language agnostic. The thought behind the original implementation was maximum flexibility with support for assetDir per language. In practice, this was a bad idea, as it made some CSS imports hard to get working in multilingual setups, and you got duplication of identical content for no good reason, with added processing time.

This release represents 12 contributions by 2 contributors to the main Hugo code base.

A special thanks in this release goes to @onedrawingperday for his excellent work maintaining the fast-growing Themes Site.

Many have also been busy writing and fixing the documentation in hugoDocs, which has received 5 contributions by 3 contributors.

Hugo now has:

Notes

  • Resources fetched via resources.Get and similar are now considered global across languages. If you need, as an example, to create a CSS per language, you need to set the path yourself.

Enhancements

Fixes


Automated with GoReleaser Built with go version go1.10.1 linux/amd64