mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 02:40:24 +00:00
theme: raise minimum Hugo version to 0.121.0 #825
because of usage of internal template in opengraph template
This commit is contained in:
parent
24c7258eb4
commit
e8fd405ebb
6 changed files with 7 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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" %}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
call "test-hugo.bat" 0.112.4
|
||||
call "test-hugo.bat" 0.121.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[module]
|
||||
[module.hugoVersion]
|
||||
min = "0.112.4"
|
||||
min = "0.121.0"
|
||||
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/javascript"]
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue