Update minimum required Hugo version to 0.125.7
This commit is contained in:
parent
f163fb1dc0
commit
8a17bf8931
|
@ -39,8 +39,8 @@ body:
|
||||||
label: Hugo Version
|
label: Hugo Version
|
||||||
description: What version of Hugo are you running?
|
description: What version of Hugo are you running?
|
||||||
options:
|
options:
|
||||||
- Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod)
|
- Hugo >= 0.125.7 (Recommended - Minimum version required for PaperMod)
|
||||||
- Hugo < 0.112.4 (Incompatible - Not recommended to build PaperMod on lower verions)
|
- Hugo < 0.125.7 (Incompatible - Not recommended to build PaperMod on lower verions)
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
|
|
|
@ -15,7 +15,7 @@ on:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
description: "Hugo Version"
|
description: "Hugo Version"
|
||||||
required: false
|
required: false
|
||||||
default: "0.112.4"
|
default: "0.125.7"
|
||||||
|
|
||||||
# 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: ${{ github.event.inputs.hugoVersion || '0.112.4' }}
|
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.125.7' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo CLI
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -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=>=v0.112.4&color=blue&logo=hugo)](https://github.com/gohugoio/hugo/releases/tag/v0.112.4)
|
[![Minimum Hugo Version](https://img.shields.io/static/v1?label=min-HUGO-version&message=>=v0.125.7&color=blue&logo=hugo)](https://github.com/gohugoio/hugo/releases/tag/v0.125.7)
|
||||||
[![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.112.4" }}
|
{{- if lt hugo.Version "0.125.7" }}
|
||||||
{{- errorf "=> hugo v0.112.4 or greater is required for hugo-PaperMod to build " }}
|
{{- errorf "=> hugo v0.125.7 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.112.4"
|
min_version = "0.125.7"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Aditya Telange"
|
name = "Aditya Telange"
|
||||||
|
|
Loading…
Reference in New Issue