mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
3a44bf182f
d88477eb3 Fix some more redirect alias loops 209735670 Update features.md d4ec6ef87 Remove redirect loop from functions/default ce14da435 Fix the AlternativeOutputFormats/OutputFormats examples f64a22469 Update cond.md 357a70a32 Remove redirect loop from templates/404 4ad7b01ba Remove some aliases that were causing infinite redirect loops fd378e66a Fix alias redirect loop ec3629f6f Revert "Set code background to white" ffc56b880 Revert "Make inline code gray" 2a964e261 Make inline code gray 44069e09c Set code background to white d39c790d0 Linked my own blog2md migration script 3e55267be Release 0.46 7b6cfdd8b releaser: Prepare repository for 0.47-DEV d4cb54806 releaser: Add release notes to /docs for release of 0.46 6518ac7e7 releaser: Bump versions for release of 0.46 e54334d5c Merge commit '766085c2dc6fc95ac30fda2a9ebde2355fc12554' git-subtree-dir: docs git-subtree-split: d88477eb3a1959e2764d6025f5aa7a57a4a611e7
4.1 KiB
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:
- 0.42, June 12, 2018: Theme Composition and Inheritance!
- 0.43, July 9, 2018: Hugo Pipes!
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:
- 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. - Resources fetched via
resources.Get
and similar are now language agnostic. The thought behind the original implementation was maximum flexibility with support forassetDir
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:
- 27596+ stars
- 442+ contributors
- 245+ themes
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
- Add
templates.Exists
template function. This can be used to check if a template, e.g. a partial, exists in the project or any of the themes in use. 0ba19c57 @bep #5010 - Remove superflous loop 0afa2897 @bep
- Update Chroma b5d13ca1 @bep #5019
- Make resources fetched via
resources.Get
and similar language agnostic 6b02f5c0 @bep #5017 - Improve SCSS project vs themes import resolution f219ac09 @bep #5008
- Improve _ prefix handling in SCSS imports 88e447c4 @bep #5008