🏗️ Require Hugo extended version

This commit is contained in:
James Panther
2023-11-27 08:06:38 +11:00
parent 7a9020b52f
commit fa3a47c52b
7 changed files with 10 additions and 5 deletions
+1
View File
@@ -22,6 +22,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
working-directory: ./exampleSite
+1
View File
@@ -19,6 +19,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
working-directory: ./exampleSite
+3 -1
View File
@@ -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
+1 -1
View File
@@ -1,3 +1,3 @@
[hugoVersion]
extended = false
extended = true
min = "0.87.0"
+2 -2
View File
@@ -1,3 +1,3 @@
[hugoVersion]
extended = false
min = "0.86.1"
extended = true
min = "0.87.0"
@@ -60,6 +60,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
run: hugo --minify
@@ -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).