Hugo v0.40 がリリース

no extension

このブログのサイト・ジェネレータでもある Hugo v0.40 がリリースされた。

Hugo 0.40 is The Revival of the Shortcodes. Shortcodes is one of the prime features in Hugo. Really useful, but it has had some known shortcomings. @bep has been really busy the last week to address those.
via Release v0.40

ちうわけで,マジお疲れ様です。

  • .Content for a page retrieved in a query in a shortcode is now almost always available. Note that shortcodes can include content that can include shortcodes that can include content… It is possible to bite your tail. See more below.
  • Shortcodes are now processed and rendered in their order of appearance.
  • Related to the above, we have now added a zero-based .Ordinal to the shortcode.
via Release v0.40

アップデートは計画的に。

【追記 2018-04-28】 Hugo v0.40.1 がリリース

不具合修正版。

This release fixes some shortcode vs .Content corner cases introduced in Hugo 0.40
via Release v0.40.1 · gohugoio/hugo

だそうな。

【追記 2018-04-30】 Hugo v0.40.2 がリリース

今回も不具合の修正のみ。

This release fixes some regressions introduced in Hugo 0.40. See the milestone for an issue list.
via Release v0.40.2

【追記 2018-05-10】 Hugo v0.40.3 がリリース

今回も不具合の修正。 レアケースのようだ。

Hugo 0.40.3 fixes a possible .Content truncation issue introduced in 0.40.1 90d0d830 @bep #4706. This should be very rare. It has been reported by only one user on a synthetic site. We have tested a number of big sites that does not show this problem with 0.40.2, but this is serious enough to warrant a patch release.
via Release v0.40.3

ブックマーク