Hugo

Latest version: v0.127.0

Safety actively analyzes 640549 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 40 of 47

0.32.3

Hugo `0.32` was a big and [really cool](https://gohugo.io/news/0.32-relnotes/) release, and the [Hugo Forum](https://discourse.gohugo.io/) has been filled with questions from people wanting to upgrade their Hugo sites to be able to use the new image processing feature etc.

And with that we have discovered some issues, which this release should fix, mostly releated to multilingual sites:

* Fix multihost detection for sites without language definition [8969331f](https://github.com/gohugoio/hugo/commit/8969331f5be352939883074034adac6b7086ddc8) [bep](https://github.com/bep) [#4221](https://github.com/gohugoio/hugo/issues/4221)
* Fix hugo benchmark --renderToMemory [059e8458](https://github.com/gohugoio/hugo/commit/059e8458d690dbb9fcd3ebd58cfc61b062d3138e) [bep](https://github.com/bep) [#4218](https://github.com/gohugoio/hugo/issues/4218)
* Fix URLs for bundle resources in multihost mode [ab82a27d](https://github.com/gohugoio/hugo/commit/ab82a27d055c3aa177821d81a45a5c6e972aa29e) [bep](https://github.com/bep) [#4217](https://github.com/gohugoio/hugo/issues/4217)
* Fix sub-folder baseURL handling for Page resources [f25d8a9e](https://github.com/gohugoio/hugo/commit/f25d8a9e17fb65fa41dafdcbf0358853d68eaf45) [bep](https://github.com/bep) [#4228](https://github.com/gohugoio/hugo/issues/4228)
* Avoid processing and storing same image for each language [4b04db0f](https://github.com/gohugoio/hugo/commit/4b04db0f0855a1f54895d6c93c52dcea4b1ce3ca) [bep](https://github.com/bep) [#4231](https://github.com/gohugoio/hugo/issues/4231)
* Resources.ByType should return Resources [97c1866e](https://github.com/gohugoio/hugo/commit/97c1866e322284dec46db6f3d235807507f5b69f) [bep](https://github.com/bep) [#4234](https://github.com/gohugoio/hugo/issues/4234)
* Report build time on config.toml change [6feb1387](https://github.com/gohugoio/hugo/commit/6feb138785eeb9e813428d0df30010d9b5fb1059) [bep](https://github.com/bep) [#4232](https://github.com/gohugoio/hugo/issues/4232)[#4224](https://github.com/gohugoio/hugo/issues/4224)
* Fix handling of mixed-case taxonomy folders with content file [2d3189b2](https://github.com/gohugoio/hugo/commit/2d3189b22760e0a8995dae082a6bc5480f770bfe) [bep](https://github.com/bep) [#4238](https://github.com/gohugoio/hugo/issues/4238)







---
Automated with [GoReleaser](https://github.com/goreleaser)
Built with go version go1.9.2 linux/amd64

0.32.2

This is a bug-fix release with one important fix.


* Handle publish of processed images to /public on fresh build with no image cache in /resources (as reported by one person in a Netlify build) [196da49c](https://github.com/gohugoio/hugo/commit/196da49c9d906fbae6d389fdd32b80c27cb38de4) [bep](https://github.com/bep) [#4213](https://github.com/gohugoio/hugo/issues/4213)








---
Automated with [GoReleaser](https://github.com/goreleaser)
Built with go version go1.9.2 linux/amd64

0.32.1

This fixes 2 bugs from the Hugo 0.32 release.

* Fix image processing from shortcodes in non-server mode. [bep](https://github.com/bep) [#4202](https://github.com/gohugoio/hugo/issues/4202)
* Fix broken `hugo --renderToMemory`. Note that this is only useful for benchmark testing, as there is no easy way to actually view the result. [d36d71ed](https://github.com/gohugoio/hugo/commit/d36d71edd3b04df3b34edf4d108e3995a244c4f0) [bep](https://github.com/bep) [#4212](https://github.com/gohugoio/hugo/issues/4212)






---
Automated with [GoReleaser](https://github.com/goreleaser)
Built with go version go1.9.2 linux/amd64

0.32

* Automatic bundling of a content page with its resources. Resources can be anything: Images, `JSON` files ... and also other content pages.
* A `Resource` will have its `RelPermalink` and `Permalink` relative to the "owning page". This makes the complete article with both text and images portable (just send a ZIP file with a folder to your editor), and it can be previewed directly on GitHub.
* Powerful and simple to use image processing with the new `.Resize`, `.Fill`, and `.Fit` methods on the new `Image` resource.
* Full support for symbolic links inside `/content`, both for regular files and directories.

The built-in benchmarks in Hugo show that this is also the [fastest and most memory effective](https://gist.github.com/bep/2a9bbd221de2da5d39c8b32085c658f7) Hugo version to date. But note that the build time total reported in the console is now adjusted to be the *real total*, including the copy of static files. So, if it reports more milliseconds, it is still most likely faster ...

This release represents **30 contributions by 7 contributors** to the main Hugo code base.

[bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [betaveros](https://github.com/betaveros), [chaseadamsio](https://github.com/chaseadamsio), and [kropp](https://github.com/kropp). And as always big thanks to [digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **17 contributions by 7 contributors**. A special thanks to [bep](https://github.com/bep), [felicianotech](https://github.com/felicianotech), [maiki](https://github.com/maiki), and [carlchengli](https://github.com/carlchengli) for their work on the documentation site.

Hugo now has:

* 22061+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 454+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 193+ [themes](http://themes.gohugo.io/)

Today is **New Year's Eve.** It is the last day of 2017, a year that have seen a **string of pearls of Hugo releases**, making Hugo _the_ top choice for website development:

* 0.32, December 2017: **Page Bundles and Image Processing** edition.
* 0.31, November 2017: The Language **Multihost Edition!** with one `baseURL` per language.
* 0.30, October 2017: The Race Car Edition with the **Fast Render Mode**.
* 0.29, September 2017: Added **Template Metrics**.
* 0.28, September 2017: **Blistering fast and native syntax highlighting** from [Chroma](https://github.com/alecthomas/chroma).
* 0.27, September 2017: Fast and flexible **Related Content.**
* 0.26, August 2017: The **Language Style Edition** with AP Style or Chicago Style Title Case and « French Guillemets ».
* 0.25, July 2017: The **Kinder Surprise** edition added, among other cool things, `hugo server --navigateToChanged` which navigates to the content page you start editing.
* 0.24, June 2017: Was **The Revival of the Archetypes!** Now archetype files, i.e. the content file templates, can include template syntax with all of Hugo's functions and variables.
* 0.23, June 2017: Hugo moved to it's own GitHub organization, **gohugoio**.
* 0.22, June 2017: Added **nested sections**, a long sought after feature.
* 0.21, May 2017: Full support for shortcodes per output format (think **AMP**).
* 0.20, April 2017: Was all about **Custom Output Formats**.
* 0.19, February 2017: Native Emacs Org-mode content support and lots of internal upgrades.

Notes

* The build total in the console is now the ... total (i.e. it now includes both the copy of the static files and the Hugo build). So if your Hugo site seems to build slightly slower, it is in reality probably slightly faster than before this release.
* Images and other static resources in folders with "_index.md" will have its `RelPermalink` relative to its page.
* Images and other static resources in or below "index.md" folders will have its `RelPermalink` relative to its page (respecting permalink settings etc.)
* Content pages in or below "index.md" will not get their own `URL`, but will be part of the `.Resources` collection of its page.
* `.Site.Files` is deprecated.
* Hugo no longer minfies CSS files inside `/content`. This was an undocumented "proof of concept feature". We may revisit the "assets handling" in a future release.
* `Page.GetParam`does not lowercase your result anymore. If you really want to lowercase your params, do it with `.GetParam "myparam" | lower` or similar.

Previously deprecated that will now `ERROR`:

* `disable404`: Use `disableKinds=["404"]`
* `disableRSS`: Use `disableKinds=["RSS"]`
* `disableSitemap`: Use `disableKinds=["sitemap"]`
* `disableRobotsTXT`: Use `disableKinds=["robotsTXT"]`

Enhancements

* Add `.Title` and `.Page` to `MenuEntry` [9df3736f](https://github.com/gohugoio/hugo/commit/9df3736fec164c51d819797416dc263f2869be77) [rmetzler](https://github.com/rmetzler) [#2784](https://github.com/gohugoio/hugo/issues/2784)
* Add `Pandoc` support [e69da7a4](https://github.com/gohugoio/hugo/commit/e69da7a4cb725987f153707bf2fc59c135007e2a) [betaveros](https://github.com/betaveros) [#234](https://github.com/gohugoio/hugo/issues/234)
* Implement Page bundling and image handling [3cdf19e9](https://github.com/gohugoio/hugo/commit/3cdf19e9b7e46c57a9bb43ff02199177feb55768) [bep](https://github.com/bep) [#3651](https://github.com/gohugoio/hugo/issues/3651)[#3158](https://github.com/gohugoio/hugo/issues/3158)[#1014](https://github.com/gohugoio/hugo/issues/1014)[#2021](https://github.com/gohugoio/hugo/issues/2021)[#1240](https://github.com/gohugoio/hugo/issues/1240)[#3757](https://github.com/gohugoio/hugo/issues/3757)
* Make `chomp` return the type it receives [22cd89ad](https://github.com/gohugoio/hugo/commit/22cd89adc4792a3b55389d38acd4acfae3786775) [kropp](https://github.com/kropp) [#2187](https://github.com/gohugoio/hugo/issues/2187)
* Reuse the `BlackFriday` config instance when possible [db4b7a5c](https://github.com/gohugoio/hugo/commit/db4b7a5c6742c75f9cd9627d3b054d3a72802ec8) [bep](https://github.com/bep)
* Remove the goroutines from the shortcode lexer [24369410](https://github.com/gohugoio/hugo/commit/243694102a60da2fb1050020f68384539f9f9ef5) [bep](https://github.com/bep)
* Improve site benchmarks [051fa343](https://github.com/gohugoio/hugo/commit/051fa343d06d6c070df742f7cbd125432fcab665) [bep](https://github.com/bep)
* Update `Chroma` to `v0.2.0` [79892101](https://github.com/gohugoio/hugo/commit/7989210120dbde78da3741e2ef01b13f4aa78692) [bep](https://github.com/bep) [#4087](https://github.com/gohugoio/hugo/issues/4087)
* Update `goorgeous` to `v1.1.0` [7f2ae3ef](https://github.com/gohugoio/hugo/commit/7f2ae3ef39f27a9bd26ddb9258b073a840faf491) [chaseadamsio](https://github.com/chaseadamsio)
* Add test for homepage content for all rendering engines [407c2402](https://github.com/gohugoio/hugo/commit/407c24020ef2db90cf33fd07e7522b2257013722) [bep](https://github.com/bep) [#4166](https://github.com/gohugoio/hugo/issues/4166)
* Add output formats definition to benchmarks [a2d81ce9](https://github.com/gohugoio/hugo/commit/a2d81ce983d45b5742c93bd472503c88286f099a) [bep](https://github.com/bep)

Fixes

Templates

* Do not unescape input to `highlight` [c067f345](https://github.com/gohugoio/hugo/commit/c067f34558b82455b63b9ce8f5983b4b4849c7cf) [bep](https://github.com/bep) [#4179](https://github.com/gohugoio/hugo/issues/4179)
* Properly close image file in `imageConfig` [6d79beb5](https://github.com/gohugoio/hugo/commit/6d79beb5f67dbb54d7714c3195addf9d8e3924e8) [bep](https://github.com/bep)
* Fix `opengraph` video range template [23f69efb](https://github.com/gohugoio/hugo/commit/23f69efb3914946b39ce673fcc0f2e3a9ed9d878) [drlogout](https://github.com/drlogout) [#4136](https://github.com/gohugoio/hugo/issues/4136)
* Fix `humanize` for multi-byte runes [e7652180](https://github.com/gohugoio/hugo/commit/e7652180a13ce149041c48a1c2754c471df569c8) [bep](https://github.com/bep) [#4133](https://github.com/gohugoio/hugo/issues/4133)

Other

* Fix broken live reload without a server port. [25114986](https://github.com/gohugoio/hugo/commit/25114986086e5877a0b4108d8cf5e4e95f377241) [sainaen](https://github.com/sainaen) [#4141](https://github.com/gohugoio/hugo/issues/4141)
* Make sure all language homes are always re-rendered in fast render mode [72903be5](https://github.com/gohugoio/hugo/commit/72903be587e9c4e3644f60b11e26238ec03da2db) [bep](https://github.com/bep) [#4125](https://github.com/gohugoio/hugo/issues/4125)
* Do not `tolower` result from Page.GetParam [1c114d53](https://github.com/gohugoio/hugo/commit/1c114d539b0755724443fe28c90b12fe2a19085a) [bep](https://github.com/bep) [#4187](https://github.com/gohugoio/hugo/issues/4187)


---
Automated with [GoReleaser](https://github.com/goreleaser)
Built with go version go1.9.2 linux/amd64

0.31.1

This is a bug-fix release with one important bug fix:

* 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)







---
Automated with [GoReleaser](https://github.com/goreleaser)
Built with go version go1.9.2 linux/amd64

0.31

> <img src="https://esolia.com/img/eSolia-Logo-Flat-2015.svg" alt="eSolia" width="100px" align="top" />The Multihost feature is sponsored by [eSolia](https://esolia.com/), [rickcogley](https://github.com/rickcogley)'s company.

[Multihost](https://gohugo.io/content-management/multilingual/#configure-multilingual-multihost) means that you can have a **`baseURL` per language**, for example, `https://no.example.com` and `https://en.example.com`. This is seamlessly integrated, and the built-in web server with live reload and `navigateToChanged` etc. just works. A related enhancement in this release is the support for **as many static dirs as you need**, with intelligent language overrides, forming a big union file system. Add to that several other language related fixes and enhancements, it is safe to say that this is the version you want for multilingual Hugo sites!

This release represents **44 contributions by 7 contributors** to the main Hugo code base.
[bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [kaushalmodi](https://github.com/kaushalmodi), [natefinch](https://github.com/natefinch), and [betaveros](https://github.com/betaveros) for their ongoing contributions.
And as always a big thanks to [digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **13 contributions by 9 contributors**. A special thanks to [oncletom](https://github.com/oncletom), [kaushalmodi](https://github.com/kaushalmodi), [XhmikosR](https://github.com/XhmikosR), and [digitalcraftsman](https://github.com/digitalcraftsman) for their work on the documentation site.


Hugo now has:

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

Notes

* For mapping of translated content, Hugo now considers the full path of the content file, which makes it possible with translation of duplicate content filenames such as `index.md`. A specific translation key can be specified with the new `translationKey` front matter variable. See [2699](https://github.com/gohugoio/hugo/issues/2699).


Enhancements

Language related

* Support unknown language codes [23ba779f](https://github.com/gohugoio/hugo/commit/23ba779fab90ce45cddd68b4f49a2515ce6d4878) [bep](https://github.com/bep) [#3564](https://github.com/gohugoio/hugo/issues/3564)
* Fix `.IsTranslated` with identical filenames [b3daa1f4](https://github.com/gohugoio/hugo/commit/b3daa1f4bf1b84bcc5da028257ba609be74e3ecc) [bep](https://github.com/bep) [#2699](https://github.com/gohugoio/hugo/issues/2699)
* Fall back to unstranslated base template [0a81a6b4](https://github.com/gohugoio/hugo/commit/0a81a6b4bae3de53aa9c179b855c671a2d30eec7) [bep](https://github.com/bep) [#3893](https://github.com/gohugoio/hugo/issues/3893)
* Add support for multiple static dirs [60dfb9a6](https://github.com/gohugoio/hugo/commit/60dfb9a6e076200ab3ca3fd30e34bb3c14e0a893) [bep](https://github.com/bep) [#36](https://github.com/gohugoio/hugo/issues/36)[#4027](https://github.com/gohugoio/hugo/issues/4027)
* Add multilingual multihost support [2e046576](https://github.com/gohugoio/hugo/commit/2e0465764b5dacc511b977b1c9aa07324ad0ee9c) [bep](https://github.com/bep) [#4027](https://github.com/gohugoio/hugo/issues/4027)

Templates

* Refactor `Mod` with `cast` [76dc811c](https://github.com/gohugoio/hugo/commit/76dc811c6539b2ed8b4d3b22693e5088b9f6ecfe) [artem-sidorenko](https://github.com/artem-sidorenko)
* Add support for height argument to figure shortcode [488631fe](https://github.com/gohugoio/hugo/commit/488631fe0abc3667355345c7eb98ba7a2204deb5) [kaushalmodi](https://github.com/kaushalmodi) [#4014](https://github.com/gohugoio/hugo/issues/4014)

Core

* Use ms precision for static change logging [bb048d81](https://github.com/gohugoio/hugo/commit/bb048d811d3977adb10656335cd339cd8c945a25) [bep](https://github.com/bep)
* Update Chroma to get the latest SASS lexer [b32ffed6](https://github.com/gohugoio/hugo/commit/b32ffed6abc67646cad89e163846f3ffef29cec8) [bep](https://github.com/bep) [#4069](https://github.com/gohugoio/hugo/issues/4069)
* Bump to Go 1.9.2 [9299a16c](https://github.com/gohugoio/hugo/commit/9299a16c9952a284d3ac3f31d2662f1812f77768) [bep](https://github.com/bep) [#4064](https://github.com/gohugoio/hugo/issues/4064)
* Update Travis and snapcraft to Go 1.9.2 [77cbd001](https://github.com/gohugoio/hugo/commit/77cbd001ff6b2e0aaa48566ef2af49ca68e19af9) [bep](https://github.com/bep) [#4064](https://github.com/gohugoio/hugo/issues/4064)
* Handle Taxonomy permalinks [d9a78b61](https://github.com/gohugoio/hugo/commit/d9a78b61adefe8e1803529f4774185874af85148) [betaveros](https://github.com/betaveros) [#1208](https://github.com/gohugoio/hugo/issues/1208)


Other

* Support Fast Render mode with sub-path in baseURL [31641033](https://github.com/gohugoio/hugo/commit/3164103310fbca1211cfa9ce4a5eb7437854b6ad) [bep](https://github.com/bep) [#3981](https://github.com/gohugoio/hugo/issues/3981)
* Simplify Site benchmarks [c3c10f2c](https://github.com/gohugoio/hugo/commit/c3c10f2c7ce4ee11186f51161943efc8b37a28c9) [bep](https://github.com/bep)
* Replace `make` with `mage` to build Hugo [3969](https://github.com/gohugoio/hugo/issues/3969)
* Convert to `dep` as dependency/vendor manager for Hugo [3988](https://github.com/gohugoio/hugo/issues/3988)
* Pre-allocate some slices [a9be687b](https://github.com/gohugoio/hugo/commit/a9be687b81df01c7343f78f0d3760042f467baa4) [bep](https://github.com/bep)

Fixes

Templates

* Make sure only one instance of a cached partial is rendered [4086](https://github.com/gohugoio/hugo/issues/4086)

Other

* Fix broken shortcodes for `Ace` and `Amber` [503ca6de](https://github.com/gohugoio/hugo/commit/503ca6de6ceb0b4af533f9efeff917d6f3871278) [bep](https://github.com/bep) [#4051](https://github.com/gohugoio/hugo/issues/4051)
* Fix error handling in `mage` build [c9c19d79](https://github.com/gohugoio/hugo/commit/c9c19d794537cf76ff281788c3d6cf5f2beac54d) [natefinch](https://github.com/natefinch)
* Fix `hugo -w` [fa53b13c](https://github.com/gohugoio/hugo/commit/fa53b13ca0ffb1db6ed20f5353661d3f8a5fd455) [bep](https://github.com/bep) [#3980](https://github.com/gohugoio/hugo/issues/3980)



---
Automated with [GoReleaser](https://github.com/goreleaser)
Built with go version go1.9.2 linux/amd64

Page 40 of 47

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.