theme: raise minimum Hugo version to 0.121.0 #825

because of usage of internal template in opengraph template
This commit is contained in:
Sören Weber 2024-04-07 21:54:27 +02:00
parent 24c7258eb4
commit e8fd405ebb
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
6 changed files with 7 additions and 5 deletions

View file

@ -20,6 +20,8 @@ This document shows you what's new in the latest release and flags it with one o
## 5.27.0.beta (XXXX-XX-XX) {#5270}
- {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.121.0{{% /badge %}} This release requires a newer Hugo version.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} If the theme is configured to to generate warnings or errors during build by setting `image.errorlevel` to either `warning` or `error` in your `hugo.toml`, it will now also generate output if a link fragment is not found in the target page.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} The [dependency loader](basics/customization#own-shortcodes-with-javascript-dependencies) was made more versatile.

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="fa-fw fab fa-hackerrank" title=" " %}}0.112.4{{% /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="fa-fw fab fa-hackerrank" title=" " %}}0.121.0{{% /badge %}} of the [Hugo binary](https://gohugo.io/getting-started/installing/) for your OS (Windows, Linux, Mac).
{{% figure src="magic.gif" link="https://gohugo.io" alt="Magic" caption="It's a kind of magic" %}}

View file

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

View file

@ -1,6 +1,6 @@
[module]
[module.hugoVersion]
min = "0.112.4"
min = "0.121.0"
[mediaTypes]
[mediaTypes."text/javascript"]

View file

@ -6,7 +6,7 @@
{{- $basename = partial "BaseName.hugo" $format.RelPermalink }}
{{- end }}
{{- if eq . .Site.Sites.First.Home }}
{{- $hugoVersion := "0.112.4" }}
{{- $hugoVersion := "0.121.0" }}
{{- 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.112.4"
min = "0.121.0"
[author]
name = "Sören Weber"