hugo/content/en/news/0.46-relnotes/index.md
Bjørn Erik Pedersen b9bd35d72e Squashed 'docs/' content from commit fdea5430f
git-subtree-dir: docs
git-subtree-split: fdea5430f89dfd849d39212abdf5ace0a4763e5a
2019-10-21 10:22:28 +02:00

4.1 KiB


date: 2018-08-01 title: "The Summer of Hugo" description: "Hugo 0.46: Full SCSS/SASS import inheritance support, rework of Hugo Pipes vs. multilingual, and more …" categories: ["Releases"]

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