From 8a17bf89315dbd9efd51dd0aa3dc03f9cfdf8530 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 3 Nov 2024 13:13:11 +0530 Subject: [PATCH] Update minimum required Hugo version to 0.125.7 --- .github/ISSUE_TEMPLATE/bug.yaml | 4 ++-- .github/workflows/gh-pages.yml | 4 ++-- README.md | 2 +- layouts/_default/baseof.html | 4 ++-- theme.toml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml index 0d9cec5c..e7168f09 100644 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -39,8 +39,8 @@ body: label: Hugo Version description: What version of Hugo are you running? options: - - Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod) - - Hugo < 0.112.4 (Incompatible - Not recommended to build PaperMod on lower verions) + - Hugo >= 0.125.7 (Recommended - Minimum version required for PaperMod) + - Hugo < 0.125.7 (Incompatible - Not recommended to build PaperMod on lower verions) validations: required: true - type: input diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6a43bcdd..092772b5 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -15,7 +15,7 @@ on: hugoVersion: description: "Hugo Version" required: false - default: "0.112.4" + default: "0.125.7" # Allow one concurrent deployment concurrency: @@ -38,7 +38,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.112.4' }} + HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.125.7' }} steps: - name: Install Hugo CLI run: | diff --git a/README.md b/README.md index 0637bf92..1c000728 100644 --- a/README.md +++ b/README.md @@ -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. [![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) [![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) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index df611bfb..94e7d585 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ -{{- if lt hugo.Version "0.112.4" }} -{{- errorf "=> hugo v0.112.4 or greater is required for hugo-PaperMod to build " }} +{{- if lt hugo.Version "0.125.7" }} +{{- errorf "=> hugo v0.125.7 or greater is required for hugo-PaperMod to build " }} {{- end -}} diff --git a/theme.toml b/theme.toml index f659f5c9..85c7b735 100644 --- a/theme.toml +++ b/theme.toml @@ -37,7 +37,7 @@ features = [ "scroll-to-top", "search" ] -min_version = "0.112.4" +min_version = "0.125.7" [author] name = "Aditya Telange"