mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
releaser: Prepare repository for 0.23-DEV
This commit is contained in:
parent
0f78dd06a4
commit
4bd5ce7ef3
5 changed files with 39 additions and 5 deletions
|
@ -320,7 +320,7 @@ description = ""
|
||||||
homepage = "http://siteforthistheme.com/"
|
homepage = "http://siteforthistheme.com/"
|
||||||
tags = []
|
tags = []
|
||||||
features = []
|
features = []
|
||||||
min_version = "0.21"
|
min_version = "0.22.1"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = ""
|
name = ""
|
||||||
|
|
|
@ -9,7 +9,7 @@ pluralizeListTitles = false
|
||||||
[params]
|
[params]
|
||||||
description = "Documentation of Hugo, a fast and flexible static site generator built with love by spf13, bep and friends in Go"
|
description = "Documentation of Hugo, a fast and flexible static site generator built with love by spf13, bep and friends in Go"
|
||||||
author = "Steve Francia (spf13) and friends"
|
author = "Steve Francia (spf13) and friends"
|
||||||
release = "0.22.1-DEV"
|
release = "0.22.1"
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
|
|
34
docs/temp/0.22.1-relnotes.md
Normal file
34
docs/temp/0.22.1-relnotes.md
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
**First level only:**
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[permalinks]
|
||||||
|
blog = ":section/:title"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Nested (all levels):**
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[permalinks]
|
||||||
|
blog = ":sections/:title"
|
||||||
|
```
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
* 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)
|
||||||
|
* 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)
|
||||||
|
* 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)
|
||||||
|
* 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)
|
||||||
|
* 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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ func (v HugoVersion) NextPatchLevel(level int) HugoVersion {
|
||||||
var CurrentHugoVersion = HugoVersion{
|
var CurrentHugoVersion = HugoVersion{
|
||||||
Number: 0.22,
|
Number: 0.22,
|
||||||
PatchLevel: 1,
|
PatchLevel: 1,
|
||||||
Suffix: "-DEV",
|
Suffix: "",
|
||||||
}
|
}
|
||||||
|
|
||||||
func hugoVersion(version float32, patchVersion int, suffix string) string {
|
func hugoVersion(version float32, patchVersion int, suffix string) string {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
name: hugo
|
name: hugo
|
||||||
version: "0.22.1-DEV"
|
version: "0.22.1"
|
||||||
summary: Fast and Flexible Static Site Generator
|
summary: Fast and Flexible Static Site Generator
|
||||||
description: |
|
description: |
|
||||||
Hugo is a static HTML and CSS website generator written in Go. It is
|
Hugo is a static HTML and CSS website generator written in Go. It is
|
||||||
optimized for speed, easy use and configurability. Hugo takes a directory
|
optimized for speed, easy use and configurability. Hugo takes a directory
|
||||||
with content and templates and renders them into a full HTML website.
|
with content and templates and renders them into a full HTML website.
|
||||||
confinement: strict
|
confinement: strict
|
||||||
grade: devel # "devel" or "stable"
|
grade: stable # "devel" or "stable"
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
hugo:
|
hugo:
|
||||||
|
|
Loading…
Reference in a new issue