diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f80187c9d..300172c4b 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 f9c5c78ee..51067c93d 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 bf778123f..ceca0d713 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 74f772723..e90665b4f 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 6a8e43fa2..e90665b4f 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 93995dd5a..bbe1f322d 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 a8cd34b4c..ad3f69f0e 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).