netlify: Update to Hugo 0.47.1 (#9910)
The relevant fix for kubernetes.io is the "Page last modified on" line (Git revision info), which in this version now works correctly across languages.
This commit is contained in:
parent
814da53cd7
commit
886514b9e3
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
DOCKER = docker
|
DOCKER = docker
|
||||||
HUGO_VERSION = 0.44
|
HUGO_VERSION = 0.47.1
|
||||||
DOCKER_IMAGE = kubernetes-hugo
|
DOCKER_IMAGE = kubernetes-hugo
|
||||||
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(PWD):/src
|
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(PWD):/src
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ publish = "public"
|
||||||
command = "hugo --enableGitInfo && cp netlify_noindex_headers.txt public/_headers"
|
command = "hugo --enableGitInfo && cp netlify_noindex_headers.txt public/_headers"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.46"
|
HUGO_VERSION = "0.47.1"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_BASEURL = "https://kubernetes.io/"
|
HUGO_BASEURL = "https://kubernetes.io/"
|
||||||
|
|
Loading…
Reference in New Issue