Hugo v0.22.1 リリース
Hugo 0.22.1 は0.22をリリースした後に報告されたいくつかの問題を修正しています。もっとも重要なものは、ルートセクションの下にある通常フォルダの検出です。
Hugo 0.22.1 fixes a couple of issues reported after the 0.22 release Monday. Most importantly a fix for detecting regular subfolders below the root-sections.
また、パーマリンクの設定をネストされたセクションのサポートに合わせるのを忘れてしまっていたため、その機能は使えてませんでした。
Also, we forgot to adapt the permalink settings with support for nested sections, which made that feature less useful than it could be.
このリリースでは、次のようなセクションでパーマリンクを設定できます:
With this release you can configure permalinks with sections like this:
1階層のみ:
First level only:
[permalinks]
blog = ":section/:title"
多階層:
Nested (all levels):
[permalinks]
blog = ":sections/:title"
ポカミスだったのだろうが、次の日に修正されるところを見るとHugoのスピード感を感じられる。
しかし、 :section
と :sections
は違いがわかりづらいw