Bump minimum Hugo version to 0.112.4
* language.LanguageCode is required for Fix/hugo depr 0.120.x #1328
This commit is contained in:
parent
f51ad49819
commit
e3ad0aeb70
|
@ -26,7 +26,7 @@ Please fill the template below
|
||||||
- Device/Os: [e.g. Android 10]
|
- Device/Os: [e.g. Android 10]
|
||||||
- Type: [e.g. Desktop/Mobile]
|
- Type: [e.g. Desktop/Mobile]
|
||||||
- Browser and version [e.g. Chrome 86.0]:
|
- Browser and version [e.g. Chrome 86.0]:
|
||||||
- Hugo Version [ >=0.97.1 expected]:
|
- Hugo Version [ >=0.112.4 expected]:
|
||||||
- Theme Version [e.g. v4.0, master, or commit-id ]:
|
- Theme Version [e.g. v4.0, master, or commit-id ]:
|
||||||
|
|
||||||
**Steps to reproduce the behavior:**
|
**Steps to reproduce the behavior:**
|
||||||
|
|
|
@ -15,7 +15,7 @@ on:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
description: "Hugo Version"
|
description: "Hugo Version"
|
||||||
required: false
|
required: false
|
||||||
default: "0.97.1"
|
default: "0.112.4"
|
||||||
|
|
||||||
# Allow one concurrent deployment
|
# Allow one concurrent deployment
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: "0.97.1"
|
HUGO_VERSION: "0.112.4"
|
||||||
steps:
|
steps:
|
||||||
- name: Check version
|
- name: Check version
|
||||||
if: ${{ github.event.inputs.hugoVersion }}
|
if: ${{ github.event.inputs.hugoVersion }}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
**ExampleSite** can be found here: [**exampleSite**](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite). Demo is built up with [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) as source.
|
**ExampleSite** can be found here: [**exampleSite**](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite). Demo is built up with [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) as source.
|
||||||
|
|
||||||
[![hugo-papermod](https://img.shields.io/badge/Hugo--Themes-@PaperMod-blue)](https://themes.gohugo.io/themes/hugo-papermod/)
|
[![hugo-papermod](https://img.shields.io/badge/Hugo--Themes-@PaperMod-blue)](https://themes.gohugo.io/themes/hugo-papermod/)
|
||||||
[![Minimum Hugo Version](https://img.shields.io/static/v1?label=min-HUGO-version&message=>=0.97.1&color=blue&logo=hugo)](https://github.com/gohugoio/hugo/releases/tag/v0.97.1)
|
[![Minimum Hugo Version](https://img.shields.io/static/v1?label=min-HUGO-version&message=>=v0.112.4&color=blue&logo=hugo)](https://github.com/gohugoio/hugo/releases/tag/v0.112.4)
|
||||||
[![Discord](https://img.shields.io/discord/971046860317921340?label=Discord&logo=discord)](https://discord.gg/ahpmTvhVmp)
|
[![Discord](https://img.shields.io/discord/971046860317921340?label=Discord&logo=discord)](https://discord.gg/ahpmTvhVmp)
|
||||||
[![GitHub](https://img.shields.io/github/license/adityatelange/hugo-PaperMod)](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE)
|
[![GitHub](https://img.shields.io/github/license/adityatelange/hugo-PaperMod)](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE)
|
||||||
![code-size](https://img.shields.io/github/languages/code-size/adityatelange/hugo-PaperMod)
|
![code-size](https://img.shields.io/github/languages/code-size/adityatelange/hugo-PaperMod)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if lt hugo.Version "0.97.1" }}
|
{{- if lt hugo.Version "0.112.4" }}
|
||||||
{{- errorf "=> hugo v0.97.1 or greater is required for hugo-PaperMod to build " }}
|
{{- errorf "=> hugo v0.112.4 or greater is required for hugo-PaperMod to build " }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
|
@ -37,7 +37,7 @@ features = [
|
||||||
"scroll-to-top",
|
"scroll-to-top",
|
||||||
"search"
|
"search"
|
||||||
]
|
]
|
||||||
min_version = "0.97.1"
|
min_version = "0.112.4"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Aditya Telange"
|
name = "Aditya Telange"
|
||||||
|
|
Loading…
Reference in New Issue