You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hugo `0.22.1` fixes a couple of issues reported after the [0.22 release](https://github.com/spf13/hugo/releases/tag/v0.22) Monday. Most importantly a fix for detecting regular subfolders below the root-sections.
10
+
11
+
Also, we forgot to adapt the `permalink settings` with support for nested sections, which made that feature less useful than it could be.
12
+
13
+
With this release you can configure **permalinks with sections** like this:
14
+
15
+
**First level only:**
16
+
17
+
```toml
18
+
[permalinks]
19
+
blog = ":section/:title"
20
+
```
21
+
22
+
**Nested (all levels):**
23
+
24
+
```toml
25
+
[permalinks]
26
+
blog = ":sections/:title"
27
+
```
28
+
## Fixes
29
+
30
+
* Fix section logic for root folders with subfolders [a30023f5](https://github.com/spf13/hugo/commit/a30023f5cbafd06034807255181a5b7b17f3c25f)[@bep](https://github.com/bep)[#3586](https://github.com/spf13/hugo/issues/3586)
31
+
* Support sub-sections in permalink settings [1f26420d](https://github.com/spf13/hugo/commit/1f26420d392a5ab4c7b7fe1911c0268b45d01ab8)[@bep](https://github.com/bep)[#3580](https://github.com/spf13/hugo/issues/3580)
32
+
* Adjust rlimit to 64000 [ff54b6bd](https://github.com/spf13/hugo/commit/ff54b6bddcefab45339d8dc2b13776b92bdc04b9)[@bep](https://github.com/bep)[#3582](https://github.com/spf13/hugo/issues/3582)
33
+
* Make error on setting rlimit a warning only [629e1439](https://github.com/spf13/hugo/commit/629e1439e819a7118ae483381d4634f16d3474dd)[@bep](https://github.com/bep)[#3582](https://github.com/spf13/hugo/issues/3582)
34
+
* Revert: Remove the rlimit tweaking on macOS" [26aa06a3](https://github.com/spf13/hugo/commit/26aa06a3db57ab7134a900d641fa2976f7971520)[@bep](https://github.com/bep)[#3582](https://github.com/spf13/hugo/issues/3582)
0 commit comments