

This is a bug-fix release with a couple of important fixes.


Hugo now has:

* 21278+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 455+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 186+ [themes](http://themes.gohugo.io/)

## Enhancements

### Templates

* Close image file [6d79beb5](https://github.com/gohugoio/hugo/commit/6d79beb5f67dbb54d7714c3195addf9d8e3924e8) [@bep](https://github.com/bep) 

## Fixes

### Other

* Fix broken --appendPort=false [8afd7d9c](https://github.com/gohugoio/hugo/commit/8afd7d9ceb0d168300e3399c6e87a355a88c9a28) [@bep](https://github.com/bep) [#4111](https://github.com/gohugoio/hugo/issues/4111)






Add release notes draft for 0.31.1
releaser: Add release notes draft for 0.31.1

Rename to *-ready.md to continue. [ci skip]
