Python-hugo

Latest version: v24.1.1

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

Scan your dependencies

Page 40 of 44

0.22

Hugo `0.22` brings **nested sections**, by popular demand and a long sought after feature ([465](https://github.com/spf13/hugo/issues/465)). We are still low on documentation for this great feature, but [bep](https://github.com/bep) has been kind enough to accompany his implementation with a [demo site](http://hugotest.bep.is/).

This release represents **58 contributions by 10 contributors** to the main Hugo code base. Since last release Hugo has **gained 420 stars and 2 additional themes.**

[bep](https://github.com/bep) still leads the Hugo development with his witty Norwegian humor, and once again contributed a significant amount of additions. But also a big shoutout to [bogem](https://github.com/bogem), [moorereason](https://github.com/moorereason), and [onedrawingperday](https://github.com/onedrawingperday) for their ongoing contributions. 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.

Hugo now has:

* 17576&43; [stars](https://github.com/spf13/hugo/stargazers)
* 455&43; [contributors](https://github.com/spf13/hugo/graphs/contributors)
* 165&43; [themes](http://themes.gohugo.io/)

Other Highlights

`.Site.GetPage` can now also be used to get regular pages ([2844](https://github.com/spf13/hugo/issues/2844)):

go
{{ (.Site.GetPage "page" "blog" "mypost.md" ).Title }}


Also, considerable work has been put into writing automated benchmark tests for the site builds, and we&39;re happy to report that although this release comes with fundamental structural changes, this version is -- in general -- even faster than the previous. It’s quite a challenge to consistently add significant new functionality and simultaneously maintain the stellar performance Hugo is famous for.



Notes

`.Site.Sections` is replaced. We have reworked how sections work in Hugo, they can now be nested and are no longer taxonomies. If you use the old collection, you should get detailed upgrade instructions in the log when you run `hugo`. For more information, see this [demo site](http://hugotest.bep.is/).

Enhancements

Templates

* Add `uint` support to `In` [b82cd82f](https://github.com/spf13/hugo/commit/b82cd82f1198a371ed94bda7faafe22813f4cb29) [moorereason](https://github.com/moorereason)
* Support interfaces in `union` [204c3a9e](https://github.com/spf13/hugo/commit/204c3a9e32fcf6617ede978e35d3e2e89a5b491c) [moorereason](https://github.com/moorereason) [#3411](https://github.com/spf13/hugo/issues/3411)
* Add `uniq` function [e28d9aa4](https://github.com/spf13/hugo/commit/e28d9aa42c3429d22fe254e69e4605aaf1e684f3) [adiabatic](https://github.com/adiabatic)
* Handle `template.HTML` and friends in `ToInt` [4113693a](https://github.com/spf13/hugo/commit/4113693ac1b275f3a40aa5c248269340ef9b57f6) [moorereason](https://github.com/moorereason) [#3308](https://github.com/spf13/hugo/issues/3308)


Core

* Make the `RSS feed` use the date for the node it represents [f1da5a15](https://github.com/spf13/hugo/commit/f1da5a15a37666ee59350d6600a8c14c1383f5bc) [bep](https://github.com/bep) [#2708](https://github.com/spf13/hugo/issues/2708)
* Enable `nested sections` [b3968939](https://github.com/spf13/hugo/commit/b39689393ccb8434d9a57658a64b77568c718e99) [bep](https://github.com/bep) [#465](https://github.com/spf13/hugo/issues/465)
* Add test for &34;no 404&34; in `sitemap` [8aaec644](https://github.com/spf13/hugo/commit/8aaec644a90d09bd7f079d35d382f76bb4ed35db) [bep](https://github.com/bep) [#3563](https://github.com/spf13/hugo/issues/3563)
* Support regular pages in `.Site.GetPage` [e0c2e798](https://github.com/spf13/hugo/commit/e0c2e798201f75ae6e9a81a7442355288c2d141b) [bep](https://github.com/bep) [#2844](https://github.com/spf13/hugo/issues/2844)
[3082](https://github.com/spf13/hugo/issues/3082)

Performance
* Add site building benchmarks [8930e259](https://github.com/spf13/hugo/commit/8930e259d78cba4041b550cc51a7f40bc91d7c20) [bep](https://github.com/bep) [#3535](https://github.com/spf13/hugo/issues/3535)
* Add a cache to `GetPage` which makes it much faster [50d11138](https://github.com/spf13/hugo/commit/50d11138f3e18b545c15fadf52f7b0b744bf3e7c) [bep](https://github.com/bep)
* Speed up `GetPage` [fbb78b89](https://github.com/spf13/hugo/commit/fbb78b89df8ccef8f0ab26af00aa45d35c1ee2cf) [bep](https://github.com/bep) [#3503](https://github.com/spf13/hugo/issues/3503)
* Add BenchmarkFrontmatterTags [3d9c4f51](https://github.com/spf13/hugo/commit/3d9c4f513b0443648d7e88995e351df1739646d2) [bep](https://github.com/bep) [#3464](https://github.com/spf13/hugo/issues/3464)
* Add `benchSite.sh` to make it easy to run Hugo performance benchmarks [d74452cf](https://github.com/spf13/hugo/commit/d74452cfe8f69a85ec83e05481e16bebf199a5cb) [bep](https://github.com/bep)
* Cache language config [4aff2b6e](https://github.com/spf13/hugo/commit/4aff2b6e7409a308f30cff1825fec02991e0d56a) [bep](https://github.com/bep)
* Temporarily revert to BurntSushi for `TOML` front matter handling; it is currently much faster [0907a5c1](https://github.com/spf13/hugo/commit/0907a5c1c293755e6bf297246f07888448d81f8b) [bep](https://github.com/bep) [#3541](https://github.com/spf13/hugo/issues/3541) [#3464](https://github.com/spf13/hugo/issues/3464)
* Add a simple partitioned lazy cache [87203139](https://github.com/spf13/hugo/commit/87203139c38e0b992c96d7b8a23c7730649c68e5) [bep](https://github.com/bep)

Other

* Add `noindex` tag to HTML generated by Hugo aliases [d5ab7f08](https://github.com/spf13/hugo/commit/d5ab7f087d967b30e7de7d789e6ad3091b42f1f7) [onedrawingperday](https://github.com/onedrawingperday)
* Update Go versions [bde807bd](https://github.com/spf13/hugo/commit/bde807bd1e560fb4cc765c0fc22132db7f8a0801) [bep](https://github.com/bep)
* Remove the `rlimit` tweaking on `macOS` [bcd32f10](https://github.com/spf13/hugo/commit/bcd32f1086c8c604fb22a7496924e41cc46b1605) [bep](https://github.com/bep) [#3512](https://github.com/spf13/hugo/issues/3512)

Docs
* Rewrite “Archetypes” article [davidturnbull](https://github.com/davidturnbull) [#3543](https://github.com/spf13/hugo/pull/3543/)
* Remove Unmaintaned Frontends from Tools. [f41f7282](https://github.com/spf13/hugo/commit/f41f72822251c9a31031fd5b3dda585c57c8b028) [onedrawingperday](https://github.com/onedrawingperday)

Fixes

Core
* Improve `live-reload` on directory structure changes making removal of directories or pasting new content directories into  `/content` just work [fe901b81](https://github.com/spf13/hugo/commit/fe901b81191860b60e6fcb29f8ebf87baef2ee79) [bep](https://github.com/bep) [#3570](https://github.com/spf13/hugo/issues/3570)
* Respect `disableKinds=[&34;sitemap&34;]` [69d92dc4](https://github.com/spf13/hugo/commit/69d92dc49cb8ab9276ab013d427ba2d9aaf9135d) [bep](https://github.com/bep) [#3544](https://github.com/spf13/hugo/issues/3544)
* Fix `disablePathToLower` regression [5be04486](https://github.com/spf13/hugo/commit/5be0448635fdf5fe6b1ee673e869f2b9baf1a5c6) [bep](https://github.com/bep) [#3374](https://github.com/spf13/hugo/issues/3374)
* Fix `ref`/`relref` issue with duplicate base filenames [612f6e3a](https://github.com/spf13/hugo/commit/612f6e3afe0510c31f70f3621f3dc8ba609dade4) [bep](https://github.com/bep) [#2507](https://github.com/spf13/hugo/issues/2507)

Docs

* Fix parameter name in `YouTube` shortcode section [37e37877](https://github.com/spf13/hugo/commit/37e378773fbc127863f2b7a389d5ce3a14674c73) [zivbk1](https://github.com/zivbk1)



---
Automated with goreleaser
Built with go version go1.8.3 darwin/amd64

0.21

Hugo `0.21` brings full support for shortcodes per [Output Format](https://gohugo.io/extras/output-formats/) ([#3220](https://github.com/spf13/hugo/issues/3220)), the last vital piece of that puzzle. This is especially useful for `Google AMP` with its many custom media tags.

This release represents **126 contributions by 29 contributors** to the main Hugo code base. Since last main release Hugo has **gained 850 stars and 7 additional themes**.

Hugo now has:

* 17156&43; [stars](https://github.com/spf13/hugo/stargazers)
* 457&43; [contributors](https://github.com/spf13/hugo/graphs/contributors)
* 163&43; [themes](http://themes.gohugo.io/)

[bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [moorereason](https://github.com/moorereason), [bogem](https://github.com/bogem), and [munnerz](https://github.com/munnerz) 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.

Other Highlights

On a more technical side, [moorereason](https://github.com/moorereason) and [bep](https://github.com/bep) have introduced namespaces for Hugo's many template funcs ([3042](https://github.com/spf13/hugo/issues/3042) ). There are so many now, and adding more into that big pile would be a sure path toward losing control. Now they are nicely categorised into namespaces with its own tests and examples, with an API that the documentation site can use to make sure it is correct and up-to-date.

Notes

* The deprecated `.Extension`, `.Now` and `.TargetPath` will now `ERROR` [544f0a63](https://github.com/spf13/hugo/commit/544f0a6394b0e085d355e8217fc5bb3d96c12a98) [bep](https://github.com/bep)
* The config settings and flags `disable404`, `disableRSS`, `disableSitemap`, `disableRobotsTXT` are now deprecated. Use `disableKinds`. [5794a265](https://github.com/spf13/hugo/commit/5794a265b41ffdeebfd8485eecf65cf4088d49d6) [bep](https://github.com/bep) [#3345](https://github.com/spf13/hugo/issues/3345)

Enhancements

Templates

* Log a WARNING on wrong usage of `IsSet` [38661c17](https://github.com/spf13/hugo/commit/38661c17bb8c31c9f31ee18f8eba5e3bfddd5574) [moorereason](https://github.com/moorereason) [#3092](https://github.com/spf13/hugo/issues/3092)
* Add support for ellipsed paginator navigator, making paginators with lots of pages more compact [b6ea492b](https://github.com/spf13/hugo/commit/b6ea492b7a6325d04d44eeb00a990a3a0e29e0c0) [bep](https://github.com/bep) [#3466](https://github.com/spf13/hugo/issues/3466)
* Add support for interfaces to `intersect` [f1c29b01](https://github.com/spf13/hugo/commit/f1c29b017bbd88e701cd5151dd186e868672ef89) [moorereason](https://github.com/moorereason) [#1952](https://github.com/spf13/hugo/issues/1952)
* Add `NumFmt` function [93b3b138](https://github.com/spf13/hugo/commit/93b3b1386714999d716e03b131f77234248f1724) [moorereason](https://github.com/moorereason) [#1444](https://github.com/spf13/hugo/issues/1444)
* Add template function namespaces [3418](https://github.com/spf13/hugo/issues/3418) [#3042](https://github.com/spf13/hugo/issues/3042) [moorereason](https://github.com/moorereason) [bep](https://github.com/bep)
* Add translation links to the default sitemap template [90d3fbf1](https://github.com/spf13/hugo/commit/90d3fbf1da93a279cfe994a226ae82cf5441deab) [rayjolt](https://github.com/rayjolt) [#2569](https://github.com/spf13/hugo/issues/2569)
* Allow text partials in HTML templates and the other way around [1cf29200](https://github.com/spf13/hugo/commit/1cf29200b4bb0a9c006155ec76759b7f4b1ad925) [bep](https://github.com/bep) [#3273](https://github.com/spf13/hugo/issues/3273)

Output

* Refactor site rendering with an &34;output format context&34;. In this release, this is used for shortcode handling only, but this paves the way for future niceness [1e4d082c](https://github.com/spf13/hugo/commit/1e4d082cf5b92fedbc60b1b4f0e9d1ee6ec45e33) [bep](https://github.com/bep) [#3397](https://github.com/spf13/hugo/issues/3397) [2bcbf104](https://github.com/spf13/hugo/commit/2bcbf104006e0ec03be4fd500f2519301d460f8c) [bep](https://github.com/bep) [#3220](https://github.com/spf13/hugo/issues/3220)


Core

* Handle `shortcode` per `Output Format` [af72db80](https://github.com/spf13/hugo/commit/af72db806f2c1c0bf1dfe5832275c41eeba89906) [bep](https://github.com/bep) [#3220](https://github.com/spf13/hugo/issues/3220)
* Improve shortcode error message [58d9cbd3](https://github.com/spf13/hugo/commit/58d9cbd31bcf7c296a39860fd7e566d10faaff28) [bep](https://github.com/bep)
* Avoid `index.md` in `/index/index.html` [fea4fd86](https://github.com/spf13/hugo/commit/fea4fd86a324bf9679df23f8289887d91b42e919) [bep](https://github.com/bep) [#3396](https://github.com/spf13/hugo/issues/3396)
* Make missing `GitInfo` a `WARNING` [5ad2f176](https://github.com/spf13/hugo/commit/5ad2f17693a9860be76ef8089c8728d2b59d6b04) [bep](https://github.com/bep) [#3376](https://github.com/spf13/hugo/issues/3376)
* Prevent decoding `pageParam` in common cases [e98f885b](https://github.com/spf13/hugo/commit/e98f885b8af27f5473a89d31d0b1f02e61e8a5ec) [bogem](https://github.com/bogem)
* Ignore non-source files on partial rebuild [b5b6e81c](https://github.com/spf13/hugo/commit/b5b6e81c0269abf9b0f4bc6a127744a25344e5c6) [xofyarg](https://github.com/xofyarg) [#3325](https://github.com/spf13/hugo/issues/3325)
* Log `WARNING` only on unknown `/data` files [ab692e73](https://github.com/spf13/hugo/commit/ab692e73dea3ddfe979c88ee236cc394e47e82f1) [bep](https://github.com/bep) [#3361](https://github.com/spf13/hugo/issues/3361)
* Avoid processing the same notify event twice [3b677594](https://github.com/spf13/hugo/commit/3b67759495c9268c30e6ba2d8c7e3b75d52d2960) [bep](https://github.com/bep)
* Only show `rssURI` deprecation `WARNING` if it is actually set [cfd3af8e](https://github.com/spf13/hugo/commit/cfd3af8e691119461effa4385251b9d3818e2291) [bep](https://github.com/bep) [#3319](https://github.com/spf13/hugo/issues/3319)

Docs

* Add documentation on slug translation [635b3bb4](https://github.com/spf13/hugo/commit/635b3bb4eb873978c7d52e6c0cb85da0c4d25299) [xavib](https://github.com/xavib)
* Replace `cdn.mathjax.org` with `cdnjs.cloudflare.com` [4b637ac0](https://github.com/spf13/hugo/commit/4b637ac041d17b22187f5ccd0f65461f0065aaa9) [takuti](https://github.com/takuti)
* Add notes about some output format behaviour [162d3a58](https://github.com/spf13/hugo/commit/162d3a586d36cabf6376a76b096fd8b6414487ae) [jpatters](https://github.com/jpatters)
* Add `txtpen` as alternative commenting service [7cdc244a](https://github.com/spf13/hugo/commit/7cdc244a72de4c08edc0008e37aec83d945dccdf) [rickyhan](https://github.com/rickyhan)

Other

* Embed `Page` in `WeightedPage` [ebf677a5](https://github.com/spf13/hugo/commit/ebf677a58360126d8b9a1e98d086aa4279f53181) [bep](https://github.com/bep) [#3435](https://github.com/spf13/hugo/issues/3435)
* Improve the detection of untranslated strings [a40d1f6e](https://github.com/spf13/hugo/commit/a40d1f6ed2aedddc99725658993258cd557640ed) [bogem](https://github.com/bogem) [#2607](https://github.com/spf13/hugo/issues/2607)
* Make first letter of the Hugo commands flags&39; usage lowercase [f0f69d03](https://github.com/spf13/hugo/commit/f0f69d03c551acb8ac2eeedaad579cf0b596f9ef) [bogem](https://github.com/bogem)
* Import `Octopress` image tag in `Jekyll importer` [5f3ad1c3](https://github.com/spf13/hugo/commit/5f3ad1c31985450fab8d6772e9cbfcb57cf5cc53) [buynov](https://github.com/buynov)

Fixes

Templates

* Do not lower case template names [6d2ea0f7](https://github.com/spf13/hugo/commit/6d2ea0f7d7e8a54b8edfc36e52ff74266c30dc27) [bep](https://github.com/bep) [#3333](https://github.com/spf13/hugo/issues/3333)

Output

* Fix output format mixup in example [10287263](https://github.com/spf13/hugo/commit/10287263f529181d3169668b044cb84e2e3b049a) [bep](https://github.com/bep) [#3481](https://github.com/spf13/hugo/issues/3481)
* Fix base theme vs project base template logic [077005e5](https://github.com/spf13/hugo/commit/077005e514b1ed50d84ceb90c7c72f184cb04521) [bep](https://github.com/bep) [#3323](https://github.com/spf13/hugo/issues/3323)

Core
* Render `404` in default language only [154e18dd](https://github.com/spf13/hugo/commit/154e18ddb9ad205055d5bd4827c87f3f0daf499f) [mitchchn](https://github.com/mitchchn) [#3075](https://github.com/spf13/hugo/issues/3075)
* Fix `RSSLink` vs `RSS` `Output Format` [e682fcc6](https://github.com/spf13/hugo/commit/e682fcc62233b47cf5bdcaf598ac0657ef089471) [bep](https://github.com/bep) [#3450](https://github.com/spf13/hugo/issues/3450)
* Add default config for `ignoreFiles`, making that option work when running in server mode [42f4ce15](https://github.com/spf13/hugo/commit/42f4ce15a9d68053da36f9efcf7a7d975cc59559) [chaseadamsio](https://github.com/chaseadamsio)
* Fix output formats override when no outputs definition given [6e2f2dd8](https://github.com/spf13/hugo/commit/6e2f2dd8d3ca61c92a2ee8824fbf05cadef08425) [bep](https://github.com/bep) [#3447](https://github.com/spf13/hugo/issues/3447)
* Fix handling of zero-length files [0e87b18b](https://github.com/spf13/hugo/commit/0e87b18b66d2c8ba9e2abc429630cb03f5b093d6) [bep](https://github.com/bep) [#3355](https://github.com/spf13/hugo/issues/3355)
* Must recreate `Paginator` on live-reload [45c74526](https://github.com/spf13/hugo/commit/45c74526686f6a2afa02bcee767d837d6b9dd028) [bep](https://github.com/bep) [#3315](https://github.com/spf13/hugo/issues/3315)

Docs

* Fix incorrect path in `templates/list` [27e88154](https://github.com/spf13/hugo/commit/27e88154af2dd9af6d0523d6e67b612e6336f91c) [MunifTanjim](https://github.com/MunifTanjim)
* Fixed incorrect specification of directory structure [a28fbca6](https://github.com/spf13/hugo/commit/a28fbca6dcfa80b6541f5ef6c8c12cd1804ae9ed) [TejasQ](https://github.com/TejasQ)
* Fix `bash` command in `tutorials/github-pages-blog` [c9976155](https://github.com/spf13/hugo/commit/c99761555c014e4d041438d5d7e53a6cbaee4492) [hansott](https://github.com/hansott)
* Fix `.Data.Pages` range in example [b5e32eb6](https://github.com/spf13/hugo/commit/b5e32eb60993b4656918af2c959ae217a68c461e) [hxlnt](https://github.com/hxlnt)

Other

* Fix data race in live-reload close, avoiding some rare panics [355736ec](https://github.com/spf13/hugo/commit/355736ec357c81dfb2eb6851ee019d407090c5ec) [bep](https://github.com/bep) [#2625](https://github.com/spf13/hugo/issues/2625)
* Skip `.git` directories in file scan [94b5be67](https://github.com/spf13/hugo/commit/94b5be67fc73b87d114d94a7bb1a33ab997f30f1) [bogem](https://github.com/bogem) [#3468](https://github.com/spf13/hugo/issues/3468)








---
Automated with goreleaser
Built with go version go1.8.1 darwin/amd64

0.20.7

This just fixes an issue with the release scripts, no change in the binaries.


Hugo now has:

* 16782&43; [stars](https://github.com/spf13/hugo/stargazers)
* 458&43; [contributors](https://github.com/spf13/hugo/graphs/contributors)
* 156&43; [themes](http://themes.gohugo.io/)

Fix

* Push the tag before goreleaser is run [3682bf52](https://github.com/spf13/hugo/commit/3682bf527989e86d9da32d76809306cb576383e8) [bep](https://github.com/bep) [#3405](https://github.com/spf13/hugo/issues/3405)








---
Automated with goreleaser
Built with go version go1.8.1 darwin/amd64

0.20.6

There have been some [shouting on discuss.gohugo.io](https://discuss.gohugo.io/t/index-md-is-generated-in-subfolder-index-index-html-hugo-0-20/6338/15) about some broken sites after the release of Hugo `0.20`. This release reintroduces the old behaviour, making `/my-blog-post/index.md` work as expected.

Hugo now has:

* 16675&43; [stars](https://github.com/spf13/hugo/stargazers)
* 456&43; [contributors](https://github.com/spf13/hugo/graphs/contributors)
* 156&43; [themes](http://themes.gohugo.io/)

Fixes

* Avoid index.md in /index/index.html [3396](https://github.com/spf13/hugo/issues/3396)
* Make missing GitInfo a WARNING [b30ca4be](https://github.com/spf13/hugo/commit/b30ca4bec811dbc17e9fd05925544db2b75e0e49) [bep](https://github.com/bep) [#3376](https://github.com/spf13/hugo/issues/3376)
* Fix some of the fpm fields for deb [3bd1d057](https://github.com/spf13/hugo/commit/3bd1d0571d5f2f6bf0dc8f90a8adf2dbfcb2fdfd) [anthonyfok](https://github.com/anthonyfok)







---
Automated with goreleaser
Built with go version go1.8.1 darwin/amd64

0.20.5

This is a bug-fix release which fixes the version number of `0.20.4` (which wrongly shows up as `0.21-DEV`) ([3388](https://github.com/spf13/hugo/issues/3388)).

---
Automated with goreleaser
Built with go version go1.8.1 darwin/amd64

0.20.4

This is the second bug-fix release of the day, fixing a couple of issues related to the new release scripts.


Hugo now has:

* 16626&43; [stars](https://github.com/spf13/hugo/stargazers)
* 457&43; [contributors](https://github.com/spf13/hugo/graphs/contributors)
* 156&43; [themes](http://themes.gohugo.io/)

Fixes

* Fix statically linked binaries [275bcf56](https://github.com/spf13/hugo/commit/275bcf566c7cb72367d4423cf4810319311ff680) [munnerz](https://github.com/munnerz) [#3382](https://github.com/spf13/hugo/issues/3382)
* Filename change in Hugo 0.20.3 binaries [3385](https://github.com/spf13/hugo/issues/3385)
* Fix version calculation [cb3c6b6f](https://github.com/spf13/hugo/commit/cb3c6b6f7670f85189a4a3637e7132901d1ed6e9) [bep](https://github.com/bep)








---
Automated with goreleaser
Built with go version go1.8.1 darwin/amd64

Page 40 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.