Skip to content

Commit

Permalink
i18n: raise required min hugo version #733
Browse files Browse the repository at this point in the history
due to unified usage of languageCode property
  • Loading branch information
McShelby committed Nov 28, 2023
1 parent dfba891 commit 14e2fb4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions exampleSite/content/basics/migration/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/basics/requirements/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion exampleSite/test-hugo.min.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo off
setlocal enabledelayedexpansion

call "test-hugo.bat" 0.110.0
call "test-hugo.bat" 0.112.4
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 14e2fb4

Please sign in to comment.