From 07e4e4bbddecc74062a9c2748ed39edd6891e76e Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 18 Aug 2024 21:24:17 +0200 Subject: Updated the minimum required Hugo version to 0.121.0 --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/playwright.yml | 2 +- CHANGELOG.md | 2 +- CONTRIBUTING.md | 2 +- config.yaml | 2 +- exampleSite/config/_default/config.yaml | 2 +- layouts/_default/list.feed.xml | 2 +- netlify.toml | 2 +- theme.toml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 655fbd9..69e4484 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -54,7 +54,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: - hugo-version: '0.114.0' + hugo-version: '0.121.0' extended: true - name: Set up Node 20.x diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 09430e1..211c5e9 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -27,7 +27,7 @@ jobs: matrix: hugo-version: - - '0.114.0' + - '0.121.0' - latest steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 792853c..9818998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Updated the minimum required Hugo version for this theme to 0.114.0. +- Updated the minimum required Hugo version for this theme to 0.121.0. - Refactored the theme configuration in `exampleSite/config/_default/config.yaml` to use Hugo's module imports instead of the `theme` variable. The theme's repository path is now specified under the `imports` section in the `module` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f9a6229..27ebfee 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -100,7 +100,7 @@ time to complete. ### Pull Request Contribution Prerequisites - You have Node & npm installed -- You have Hugo installed at v0.114.0+ +- You have Hugo installed at v0.121.0+ - You are familiar with Git ### Pull Request Process diff --git a/config.yaml b/config.yaml index 96fbc21..65e6de3 100644 --- a/config.yaml +++ b/config.yaml @@ -2,7 +2,7 @@ module: hugoVersion: extended: true - min: '0.114.0' + min: '0.121.0' imports: - path: github.com/olivernn/lunr.js diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml index 752a47f..7dc1335 100644 --- a/exampleSite/config/_default/config.yaml +++ b/exampleSite/config/_default/config.yaml @@ -158,7 +158,7 @@ frontmatter: module: hugoVersion: extended: true - min: '0.114.0' + min: '0.121.0' imports: # Use full path to theme's repository. This is replaced in go.mod for # exampleSite to point to the directory above. diff --git a/layouts/_default/list.feed.xml b/layouts/_default/list.feed.xml index ccf7ddd..c4be170 100644 --- a/layouts/_default/list.feed.xml +++ b/layouts/_default/list.feed.xml @@ -51,7 +51,7 @@ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with $siteAuthor.email }}{{ . }}{{ with $siteAuthor.name }} ({{ . }}){{ end }}{{ end }} {{ .Section }}{{ range (.GetTerms "tags") }} - {{ .LinkTitle }}{{end}} + {{ .LinkTitle }}{{ end }} {{ md5 .Permalink }} {{ .Summary | transform.XMLEscape | safeHTML }} diff --git a/netlify.toml b/netlify.toml index fc355f0..b7de027 100644 --- a/netlify.toml +++ b/netlify.toml @@ -9,7 +9,7 @@ publish = 'public' [build.environment] - HUGO_VERSION = '0.114.0' + HUGO_VERSION = '0.121.0' HUGO_ENABLEGITINFO = 'true' # Production context: all deploys from the Production branch diff --git a/theme.toml b/theme.toml index 40c99fd..37379c8 100644 --- a/theme.toml +++ b/theme.toml @@ -44,7 +44,7 @@ features = [ "simple" ] -min_version = "0.114.0" +min_version = "0.121.0" # If the theme has a single author. [author] -- cgit v1.2.3