mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
releaser: Prepare repository for 0.37-DEV
[ci skip]
This commit is contained in:
parent
18e3657a2a
commit
e02ee7d6ad
4 changed files with 5 additions and 47 deletions
|
@ -71,7 +71,7 @@ twitter = "GoHugoIO"
|
||||||
[params]
|
[params]
|
||||||
description = "The world’s fastest framework for building websites"
|
description = "The world’s fastest framework for building websites"
|
||||||
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
|
||||||
release = "0.36"
|
release = "0.37-DEV"
|
||||||
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
## Setting this to true will add a "noindex" to *EVERY* page on the site
|
||||||
removefromexternalsearch = false
|
removefromexternalsearch = false
|
||||||
## Gh repo for site footer (include trailing slash)
|
## Gh repo for site footer (include trailing slash)
|
||||||
|
|
|
@ -93,9 +93,9 @@ func (v HugoVersion) NextPatchLevel(level int) HugoVersion {
|
||||||
// CurrentHugoVersion represents the current build version.
|
// CurrentHugoVersion represents the current build version.
|
||||||
// This should be the only one.
|
// This should be the only one.
|
||||||
var CurrentHugoVersion = HugoVersion{
|
var CurrentHugoVersion = HugoVersion{
|
||||||
Number: 0.36,
|
Number: 0.37,
|
||||||
PatchLevel: 0,
|
PatchLevel: 0,
|
||||||
Suffix: "",
|
Suffix: "-DEV",
|
||||||
}
|
}
|
||||||
|
|
||||||
func hugoVersion(version float32, patchVersion int, suffix string) string {
|
func hugoVersion(version float32, patchVersion int, suffix string) string {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
name: hugo
|
name: hugo
|
||||||
version: "0.36"
|
version: "0.37-DEV"
|
||||||
summary: Fast and Flexible Static Site Generator
|
summary: Fast and Flexible Static Site Generator
|
||||||
description: |
|
description: |
|
||||||
Hugo is a static HTML and CSS website generator written in Go. It is
|
Hugo is a static HTML and CSS website generator written in Go. It is
|
||||||
optimized for speed, easy use and configurability. Hugo takes a directory
|
optimized for speed, easy use and configurability. Hugo takes a directory
|
||||||
with content and templates and renders them into a full HTML website.
|
with content and templates and renders them into a full HTML website.
|
||||||
confinement: strict
|
confinement: strict
|
||||||
grade: stable # "devel" or "stable"
|
grade: devel # "devel" or "stable"
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
hugo:
|
hugo:
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
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](http://hugotest.bep.is/resourcemeta/smartcrop/) 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](https://github.com/gohugoio/hugoDocs),
|
|
||||||
which has received **9 contributions by 4 contributors**. A special thanks to [@bep](https://github.com/bep), [@Jibec](https://github.com/Jibec), [@Nick-Rivera](https://github.com/Nick-Rivera), and [@kaushalmodi](https://github.com/kaushalmodi) for their work on the documentation site.
|
|
||||||
|
|
||||||
|
|
||||||
Hugo now has:
|
|
||||||
|
|
||||||
* 23100+ [stars](https://github.com/gohugoio/hugo/stargazers)
|
|
||||||
* 448+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
|
|
||||||
* 197+ [themes](http://themes.gohugo.io/)
|
|
||||||
|
|
||||||
## 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`:
|
|
||||||
|
|
||||||
```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
|
|
||||||
* Add smart cropping [722086b4](https://github.com/gohugoio/hugo/commit/722086b4ed3e77d1aba6724474bec06d08e7de06) [@bep](https://github.com/bep) [#4375](https://github.com/gohugoio/hugo/issues/4375)
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
* Ensure site templates can override theme templates [084cf419](https://github.com/gohugoio/hugo/commit/084cf4191b3c1e7590a4223fd9251019ef5d4c21) [@moorereason](https://github.com/moorereason) [#3505](https://github.com/gohugoio/hugo/issues/3505)
|
|
||||||
* Add additional test to `TestTemplateLookupOrder` [fc06d5c1](https://github.com/gohugoio/hugo/commit/fc06d5c18bb1e47f90f0297aa8121ee0775e047d) [@moorereason](https://github.com/moorereason) [#3505](https://github.com/gohugoio/hugo/issues/3505)
|
|
||||||
* Fix broken `TestTemplateLookupOrder` [9a367d9d](https://github.com/gohugoio/hugo/commit/9a367d9d06db6f6cf22121d0397c464ae36e7089) [@moorereason](https://github.com/moorereason)
|
|
||||||
* Fix JSON array-based data file handling regression [4402c077](https://github.com/gohugoio/hugo/commit/4402c077754991df19c3bbab0c4a671dcfdc192c) [@vassudanagunta](https://github.com/vassudanagunta) [#4361](https://github.com/gohugoio/hugo/issues/4361)
|
|
||||||
* Increase data directory test coverage [4743de0d](https://github.com/gohugoio/hugo/commit/4743de0d3c7564fc06972074e903d5502d204353) [@vassudanagunta](https://github.com/vassudanagunta) [#4138](https://github.com/gohugoio/hugo/issues/4138)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue