🏗️ Require Hugo extended version

pull/646/head
James Panther 2023-11-27 08:06:38 +11:00
parent 7a9020b52f
commit fa3a47c52b
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
7 changed files with 10 additions and 5 deletions

View File

@ -22,6 +22,7 @@ jobs:
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2
with: with:
hugo-version: "latest" hugo-version: "latest"
extended: true
- name: Build - name: Build
working-directory: ./exampleSite working-directory: ./exampleSite

View File

@ -19,6 +19,7 @@ jobs:
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2
with: with:
hugo-version: "latest" hugo-version: "latest"
extended: true
- name: Build - name: Build
working-directory: ./exampleSite working-directory: ./exampleSite

View File

@ -8,10 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added ### 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 ### 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)) - Refactored image logic into a new `picture.html` partial ([#693](https://github.com/jpanther/congo/pull/693))
### Removed ### Removed

View File

@ -1,3 +1,3 @@
[hugoVersion] [hugoVersion]
extended = false extended = true
min = "0.87.0" min = "0.87.0"

View File

@ -1,3 +1,3 @@
[hugoVersion] [hugoVersion]
extended = false extended = true
min = "0.86.1" min = "0.87.0"

View File

@ -60,6 +60,7 @@ jobs:
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2
with: with:
hugo-version: "latest" hugo-version: "latest"
extended: true
- name: Build - name: Build
run: hugo --minify run: hugo --minify

View File

@ -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`. 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 >}} {{< 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 >}} {{< /alert >}}
You can find detailed installation instructions for your platform in the [Hugo docs](https://gohugo.io/getting-started/installing). You can find detailed installation instructions for your platform in the [Hugo docs](https://gohugo.io/getting-started/installing).