fix build
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
DOCKER = docker
|
||||
HUGO_VERSION = 0.53
|
||||
HUGO_VERSION = 0.58.3
|
||||
DOCKER_IMAGE = kubernetes-hugo
|
||||
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(CURDIR):/src
|
||||
NODE_BIN = node_modules/.bin
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{{ $codelang := .Get "language" | default (path.Ext $file | strings.TrimPrefix ".") }}
|
||||
{{ $fileDir := path.Split $file }}
|
||||
{{ $bundlePath := path.Join .Page.File.Dir $fileDir.Dir }}
|
||||
{{ $filename := path.Join $p.File.Dir $file }}
|
||||
{{ $filename := printf "/content/%s/%s/%s" .Page.Lang $p.File.Dir $file | safeURL }}
|
||||
{{ $ghlink := printf "https://%s/blob/master/content/%s/%s" site.Params.githubwebsiterepo .Page.Lang $filename | safeURL }}
|
||||
{{/* First assume this is a bundle and the file is inside it. */}}
|
||||
{{ $resource := $p.Resources.GetMatch (printf "%s*" $file ) }}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ functions = "functions"
|
||||
command = "make non-production-build"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.57.2"
|
||||
HUGO_VERSION = "0.58.3"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_BASEURL = "https://kubernetes.io/"
|
||||
|
||||
Reference in New Issue
Block a user