mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-12 22:25:43 -04:00
Versioning
This commit is contained in:
parent
abe66c82be
commit
32f2e0e3d1
4 changed files with 7 additions and 7 deletions
4
.github/ISSUE_TEMPLATE/bug.yaml
vendored
4
.github/ISSUE_TEMPLATE/bug.yaml
vendored
|
@ -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.125.7 (Recommended - Minimum version required for PaperMod)
|
- Hugo >= 0.146.0 (Recommended - Minimum version required for PaperMod)
|
||||||
- Hugo < 0.125.7 (Incompatible - Not recommended to build PaperMod on lower versions)
|
- Hugo < 0.146.0 (Incompatible - Not recommended to build PaperMod on lower versions)
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
|
|
4
.github/workflows/gh-pages.yml
vendored
4
.github/workflows/gh-pages.yml
vendored
|
@ -15,7 +15,7 @@ on:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
description: "Hugo Version"
|
description: "Hugo Version"
|
||||||
required: false
|
required: false
|
||||||
default: "0.125.7"
|
default: "0.146.0"
|
||||||
|
|
||||||
# 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.125.7' }}
|
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.146.0' }}
|
||||||
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.
|
||||||
|
|
||||||
[](https://themes.gohugo.io/themes/hugo-papermod/)
|
[](https://themes.gohugo.io/themes/hugo-papermod/)
|
||||||
[](https://github.com/gohugoio/hugo/releases/tag/v0.125.7)
|
[](https://github.com/gohugoio/hugo/releases/tag/v0.146.0)
|
||||||
[](https://discord.gg/ahpmTvhVmp)
|
[](https://discord.gg/ahpmTvhVmp)
|
||||||
[](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE)
|
[](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE)
|
||||||

|

|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if lt hugo.Version "0.125.7" }}
|
{{- if lt hugo.Version "0.146.0" }}
|
||||||
{{- errorf "=> hugo v0.125.7 or greater is required for hugo-PaperMod to build " }}
|
{{- errorf "=> hugo v0.146.0 or greater is required for hugo-PaperMod to build " }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue