Skip to content

Commit 2f0b0ab

Browse files
nginx-jackADubhlaoich
authored andcommitted
feat: Bump Hugo version and fix frontmatter duplicates (#1414)
Co-authored-by: Alan Dooley <a.dooley@f5.com> (cherry picked from commit 47e2bbe)
1 parent 70081aa commit 2f0b0ab

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
HUGO?=hugo
22
HUGO_VERSION?=$(shell hugo version 2>/dev/null | awk '{print $$2}' | cut -d '.' -f 2)
3-
HUGO_IMG?=hugomods/hugo:std-go-git-0.147.8
3+
HUGO_IMG?=hugomods/hugo:std-go-git-0.152.2
44

55
THEME_MODULE = github.com/nginxinc/nginx-hugo-theme
66

77
ifeq ($(shell [ $(HUGO_VERSION) -gt 146 2>/dev/null ] && echo true || echo false), true)
88
$(info Hugo is available and has a version greater than 146. Proceeding with build.)
99
else
10-
$(warning Hugo is not available or using a version less than 147. Attempting to use docker. HUGO_VERSION=$(HUGO_VERSION))
10+
$(warning Hugo is not available or using a version less than 151. Attempting to use docker. HUGO_VERSION=$(HUGO_VERSION))
1111
HUGO=docker run --rm -it -v ${CURDIR}:/src -p 1313:1313 ${HUGO_IMG} /src/hugo-entrypoint.sh
1212
ifeq (, $(shell docker version 2> /dev/null))
13-
$(error Hugo (>0.147) or Docker are required to build the local previews.)
13+
$(error Hugo (>0.151) or Docker are required to build the local previews.)
1414
endif
1515
endif
1616

content/agent/changelog.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: Changelog
3-
toc: false
43
url: /agent/changelog
54
weight: 1200
65
toc: true
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: Manage NGINX configs
3-
weight: 15
43
url: /nginx-instance-manager/nginx-configs/
54
weight: 70
65
---

content/waf/install/disconnected-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ In addition to accessing F5 WAF for NGINX documentation, you will be able to acc
4646

4747
You will need `git` and `wget` in your connected environment.
4848

49-
Run the following two commands: replace `<hugo-release>` with the tarball appropriate to the environment from [the release page](https://github.com/gohugoio/hugo/releases/tag/v0.147.8):
49+
Run the following two commands: replace `<hugo-release>` with the tarball appropriate to the environment from [the release page](https://github.com/gohugoio/hugo/releases/tag/v0.152.2):
5050

5151

5252
```shell

documentation/writing-hugo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For guidance around how to write content, please check [the style guide](/docume
1212

1313
You will need to install Hugo _or_ Docker to build or preview documentation in your local development environment.
1414

15-
Read the [Hugo installation instructions](https://gohugo.io/getting-started/installing/) for more information: we are currently running [Hugo v0.147.8](https://github.com/gohugoio/hugo/releases/tag/v0.147.8) in production.
15+
Read the [Hugo installation instructions](https://gohugo.io/getting-started/installing/) for more information: we are currently running [Hugo v0.152.2](https://github.com/gohugoio/hugo/releases/tag/v0.152.2) in production.
1616

1717
If you have [Docker](https://www.docker.com/get-started/) installed, there are fallbacks for all requirements in the [Makefile](Makefile), meaning you don't need to install them.
1818

0 commit comments

Comments
 (0)