i18n: raise required min hugo version #733

due to unified usage of languageCode property
This commit is contained in:
Sören Weber 2023-11-28 22:12:59 +01:00
parent dfba891622
commit 14e2fb46c4
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
5 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@ weight = 2
This document shows you what's new in the latest release and flags it with one of the following badges. For a detailed list of changes, see the [history page](basics/history).
- {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.110.0{{% /badge %}} The minimum required Hugo version.
- {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.112.4{{% /badge %}} The minimum required Hugo version.
- {{% badge style="warning" title=" " %}}Breaking{{% /badge %}} A change that requires action by you after upgrading to assure the site is still functional.
@ -20,7 +20,7 @@ This document shows you what's new in the latest release and flags it with one o
## 5.24.0.beta {#5240}
- {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.110.0{{% /badge %}} This release requires a newer Hugo version.
- {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.112.4{{% /badge %}} This release requires a newer Hugo version.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} The light themes have a bit more contrast for content text and headings. Also the syntaxhighlighting was changed to the more colorful MonokaiLight. This brings the syntaxhighlightning in sync with the corresponding dark theme variants, which are using Monokai. If you dislike this, you can create your own color variant file as [described here](basics/branding#modify-shipped-variants).

View file

@ -7,6 +7,6 @@ weight = 10
Thanks to the simplicity of Hugo, this page is as empty as this theme needs requirements.
Just download at least version {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.110.0{{% /badge %}} of the [Hugo binary](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac).
Just download at least version {{% badge color="fuchsia" icon="fab fa-hackerrank" title=" " %}}0.112.4{{% /badge %}} of the [Hugo binary](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac).
![Magic](magic.gif)

View file

@ -1,4 +1,4 @@
@echo off
setlocal enabledelayedexpansion
call "test-hugo.bat" 0.110.0
call "test-hugo.bat" 0.112.4

View file

@ -6,7 +6,7 @@
{{- $basename = partial "BaseName.hugo" $format.RelPermalink }}
{{- end }}
{{- if eq . .Site.Sites.First.Home }}
{{- $hugoVersion := "0.110.0" }}
{{- $hugoVersion := "0.112.4" }}
{{- if lt hugo.Version $hugoVersion }}
{{- errorf "The Relearn theme requires Hugo %s or later" $hugoVersion }}
{{- end }}

View file

@ -24,7 +24,7 @@ features = ["badges", "breadcrumbs", "boxes", "buttons",
[module]
[module.hugoVersion]
min = "0.110.0"
min = "0.112.4"
[author]
name = "Sören Weber"