From fa3a47c52b155aa09c9d4d5dfcab54e4629c8dbd Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 27 Nov 2023 08:06:38 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20Require=20Hugo=20extend?= =?UTF-8?q?ed=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gh-pages.yml | 1 + .github/workflows/test-build.yml | 1 + CHANGELOG.md | 4 +++- config/_default/module.toml | 2 +- exampleSite/config/_default/module.toml | 4 ++-- exampleSite/content/docs/hosting-deployment/index.md | 1 + exampleSite/content/docs/installation/index.md | 2 +- 7 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f80187c9..300172c4 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -22,6 +22,7 @@ jobs: uses: peaceiris/actions-hugo@v2 with: hugo-version: "latest" + extended: true - name: Build working-directory: ./exampleSite diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index f9c5c78e..51067c93 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -19,6 +19,7 @@ jobs: uses: peaceiris/actions-hugo@v2 with: hugo-version: "latest" + extended: true - name: Build working-directory: ./exampleSite diff --git a/CHANGELOG.md b/CHANGELOG.md index bf778123..ceca0d71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added -- Warning when building if links to markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691)) +- Automatic support for WebP images ([#693](https://github.com/jpanther/congo/pull/693)) +- Warning when building if links to Markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691)) ### Changed +- ⚠️ Hugo extended version is now required when building sites - Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693)) ### Removed diff --git a/config/_default/module.toml b/config/_default/module.toml index 74f77272..e90665b4 100644 --- a/config/_default/module.toml +++ b/config/_default/module.toml @@ -1,3 +1,3 @@ [hugoVersion] - extended = false + extended = true min = "0.87.0" diff --git a/exampleSite/config/_default/module.toml b/exampleSite/config/_default/module.toml index 6a8e43fa..e90665b4 100644 --- a/exampleSite/config/_default/module.toml +++ b/exampleSite/config/_default/module.toml @@ -1,3 +1,3 @@ [hugoVersion] - extended = false - min = "0.86.1" + extended = true + min = "0.87.0" diff --git a/exampleSite/content/docs/hosting-deployment/index.md b/exampleSite/content/docs/hosting-deployment/index.md index 93995dd5..bbe1f322 100644 --- a/exampleSite/content/docs/hosting-deployment/index.md +++ b/exampleSite/content/docs/hosting-deployment/index.md @@ -60,6 +60,7 @@ jobs: uses: peaceiris/actions-hugo@v2 with: hugo-version: "latest" + extended: true - name: Build run: hugo --minify diff --git a/exampleSite/content/docs/installation/index.md b/exampleSite/content/docs/installation/index.md index a8cd34b4..ad3f69f0 100644 --- a/exampleSite/content/docs/installation/index.md +++ b/exampleSite/content/docs/installation/index.md @@ -21,7 +21,7 @@ These instructions will get you up and running using Hugo and Congo from a compl If you haven't used Hugo before, you will need to [install it onto your local machine](https://gohugo.io/getting-started/installing). You can check if it's already installed by running the command `hugo version`. {{< alert >}} -Make sure you are using **Hugo version 0.87.0** or later as the theme takes advantage of some of the latest Hugo features. +Make sure you are using **Hugo extended version 0.87.0** or later as the theme takes advantage of some of the latest Hugo features. {{< /alert >}} You can find detailed installation instructions for your platform in the [Hugo docs](https://gohugo.io/getting-started/installing).