mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 11:19:11 -05:00
18e3657a2a
[ci skip]
2.9 KiB
2.9 KiB
date: 2018-02-05 title: "0.36" description: "0.36" slug: "0.36" categories: ["Releases"]
Hugo `0.36` announces **smart cropping** of images, using the [library](https://github.com/muesli/smartcrop) created by [muesli](https://github.com/muesli). We will work with him to improve this even more in the future, but this is now the default used when cropping images in Hugo.
Go here for a list of examples.
This release represents 7 contributions by 3 contributors to the main Hugo code base.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 9 contributions by 4 contributors. A special thanks to @bep, @Jibec, @Nick-Rivera, and @kaushalmodi for their work on the documentation site.
Hugo now has:
- 23100+ stars
- 448+ contributors
- 197+ themes
Notes
Hugo now defaults to smart crop when cropping images, if you don't specify it when calling .Fill
.
You can get the old default by adding this to your config.toml
:
[imaging]
anchor = "center"
Also, we have removed the superflous anchor name from the processed filenames that does not use this anchor, so it can be wise to run hugo --gc
once to remove unused images.
Enhancements
Fixes
- Ensure site templates can override theme templates 084cf419 @moorereason #3505
- Add additional test to
TestTemplateLookupOrder
fc06d5c1 @moorereason #3505 - Fix broken
TestTemplateLookupOrder
9a367d9d @moorereason - Fix JSON array-based data file handling regression 4402c077 @vassudanagunta #4361
- Increase data directory test coverage 4743de0d @vassudanagunta #4138