Skip to content

Commit

Permalink
Revert "fix build bug" (#16836)
Browse files Browse the repository at this point in the history
This reverts commit aa68520.
  • Loading branch information
zacharysarah authored and k8s-ci-robot committed Oct 11, 2019
1 parent c2a56a8 commit 1b790bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DOCKER = docker
HUGO_VERSION = 0.58.3
HUGO_VERSION = 0.53
DOCKER_IMAGE = kubernetes-hugo
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(CURDIR):/src
NODE_BIN = node_modules/.bin
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 := printf "/content/%s/%s/%s" .Page.Lang $p.File.Dir $file | safeURL }}
{{ $filename := path.Join $p.File.Dir $file }}
{{ $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 ) }}
Expand Down
5 changes: 1 addition & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ functions = "functions"
command = "make non-production-build"

[build.environment]
# https://gitmemory.com/kubernetes/website
# https://www.gitmemory.com/zacharysarah
# https://github.com/kubernetes/website/pull/16151/files
HUGO_VERSION = "0.58.3"
HUGO_VERSION = "0.53"

[context.production.environment]
HUGO_BASEURL = "https://kubernetes.io/"
Expand Down

0 comments on commit 1b790bd

Please sign in to comment.