Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ presubmits:
clone_uri: "ssh://git@github.com/kubermatic/docs.git"
spec:
containers:
- image: quay.io/kubermatic/hugo:0.150.0-0
- image: quay.io/kubermatic/hugo:0.159.1-0
command:
- "./hack/ci/verify-hugo.sh"
resources:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ preview:
--name kubermatic-docs \
-p 1313:1313 \
-w /docs \
-v `pwd`:/docs quay.io/kubermatic/hugo:0.150.0-0 \
-v `pwd`:/docs quay.io/kubermatic/hugo:0.159.1-0 \
hugo server -D -F --bind 0.0.0.0

.PHONY: runbook
Expand All @@ -21,7 +21,7 @@ ifndef CODESPELL_BIN
$(error "codespell not available in your environment, use spellcheck-in-docker if you have Docker installed.")
endif
$(CODESPELL_BIN) \
-S ./themes,./static,*.min.js,*.css,swagger*.js,swagger.json,*.scss,*.png,*.po,.git,*.jpg,*.woff,*.woff2,*.xml \
-S ./themes,./static,*.min.js,*.css,swagger*.js,swagger.json,*.scss,*.png,*.po,.git,*.jpg,*.woff,*.woff2,*.xml,package-lock.json \
-I ./.codespell.exclude -f

.PHONY: spellcheck-in-docker
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/home.redirects
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ https://cranky-newton-4e6ed2.netlify.com/* https://docs.kubermatic.com/:splat 30
/machine-controller/main/references/operating-systems/ubuntu.en /machine-controller/main/references/operating-systems/ubuntu/ 301!

{{- /* # Generate the redirects to stable version of the products */ -}}
{{- $products := .Site.Data.products -}}
{{- $products := hugo.Data.products -}}
{{- range $productName, $val := $products -}}
{{- if .versions -}}
{{- $release := (cond (gt (len .versions) 1) (index .versions 1) (index .versions 0)).release -}}
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
{{partial "cookie-banner.html" .}}
{{partial "gtm-noscript.html" .}}
{{partialCached "main-header" .}}
{{if .Site.Data.products}}
{{if hugo.Data.products}}
{{$bgImage := "/img/main-background.svg"}}
<section class="projects"{{with $bgImage}} style="background-image: url('{{. | relURL}}');"{{end}}>
<div class="wrap">
{{with .Params.projects_title}}
<h1 class="section-title">{{.}}</h1>
{{end}}
{{with (sort .Site.Data.products ".weight")}}
{{with (sort hugo.Data.products ".weight")}}
<div class="tiles">
{{range .}}
{{$key := urlize .name}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/runbook/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{ $version := path.Base (index (findRE "^([^/]+)/([^/]+)/" .File.Dir) 0) }}

{{ range (index .Site.Data.kubermatic $version).runbook.groups }}
{{ range (index hugo.Data.kubermatic $version).runbook.groups }}
<h3 id="group-{{ urlize .name }}">Group {{ .name }}</h3>
<div class="runbook-group">
{{ range .rules }}
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build.environment]
HUGO_VERSION = "0.150.0"
HUGO_VERSION = "0.159.1"

[context.production]
command = "hugo --minify"
Expand Down
Loading