Skip to content

Commit

Permalink
🏗️ Require Hugo extended version
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Nov 26, 2023
1 parent 7a9020b commit fa3a47c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true

- name: Build
working-directory: ./exampleSite
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true

- name: Build
working-directory: ./exampleSite
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[hugoVersion]
extended = false
extended = true
min = "0.87.0"
4 changes: 2 additions & 2 deletions exampleSite/config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[hugoVersion]
extended = false
min = "0.86.1"
extended = true
min = "0.87.0"
1 change: 1 addition & 0 deletions exampleSite/content/docs/hosting-deployment/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true

- name: Build
run: hugo --minify
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit fa3a47c

Please sign in to comment.